Next: RDSAMP(1) Up: WFDB Applications Guide Previous: RDANN(1)On This Page

Name

rdedfann - extract annotations from an EDF+ file

Synopsis

rdedfann -r edffile [ options ... ]

Description

This program prints the annotations from an EDF+ file in the same format as rdann does for WFDB-compatible annotation files.

Options include:

-F frequency
Set the sampling frequency to frequency (in Hz).
-h
Print a brief usage summary.
-v
Verbose mode (print column headings).
-x
Print EDF+ annotation text in ’aux’ rather than ’anntyp’ column.

Note that the annotation mnemonics in EDF+ files do not in general match those used in WFDB-compatible annotation files, so that it will often be desirable to translate those that come from EDF+ files before converting the text with wrann. For example, this command can be used to extract annotations from foo.edf, change the EDF+ annotation type "QRS" to the WFDB type "N", and then produce a WFDB-compatible annotation file foo.edf.qrs:
rdedfann -r foo.edf | sed s/QRS/N/ | wrann -r foo.edf -a qrs

Recent versions of wrann copy unrecognized mnemonics into the aux field, setting the annotation type to NOTE, so it is no longer essential to translate mnemonics as described above before processing rdedfann’s output with wrann.

Environment

It may be necessary to set and export the shell variable WFDB (see setwfdb(1) ).

Availability

This program is provided in the convert directory of the WFDB Software Package. Run make in that directory to compile and install it if it has not been installed already.

See Also

edf2mit(1)
http://www.edfplus.info/spscs/edfplus.html
Full specification of EDF+, by Bob Kemp and Jesus Olivan.

Author

George B. Moody (george@mit.edu)

Sources

http://www.physionet.org/physiotools/wfdb/convert/rdedfann.c


Table of Contents

Up: WFDB Applications Guide


Please e-mail your comments and suggestions to webmaster@physionet.org, or post them to:

PhysioNet
MIT Room E25-505A
77 Massachusetts Avenue
Cambridge, MA 02139 USA

Updated 28 May 2015