next up previous contents
Next: WFDB_ungetann Up: Reading and Writing Signals Previous: WFDB_putvec   Contents


WFDB_getann

Usage: ANNOTATION = WFDB_getann(ANN_NUM)  
  ANNOTATION = WFDB_getann(ANN_NUM, NANN)  
Input: ANN_NUM: annotator number (note: the first input annotator is annotator number 0)  
  NANN: (optional) number of annotations wanted  
Output: ANNOTATION: Annotation structure(s)  

This function reads the next NANN annotations from an open input annotation file (designated by its annotator number, ANN_NUM). If NANN is omitted, it reads all annotations at once. Use WFDB_iannsettime to set the file pointer.

See WFDB_Annotation (section 3.8) for information on the contents of the annotation structures.



George B. Moody 2005-06-02