WFDB_putann
Keywords: wfdb_tools

Next: Non-Sequential Access to WFDB Up: Reading and Writing Signals Previous: WFDB_ungetann Contents

##
WFDB_putann

Usage: | `WFDB_putann(ANN_NUM, ANNOTATION)` |
Input: | `ANN_NUM`: annotator number (note: the first output annotator is annotator number 0) |
| `ANNOTATION`: Annotation structure(s) |

This function writes annotation(s) to an open output annotation file (designated by its annotator number, ANN_NUM, and created using WFDB_Anninfo and WFDB_annopen). Use WFDB_Annotation to create the annotation structures, and fill in their data fields before invoking WFDB_putann. If possible, annotations should be written in canonical (time/chan) order (otherwise, the annotations will be rewritten in order when WFDB_wfdbquit is invoked).