[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The programs in this chapter are useful as models for a variety of applications that use the WFDB library. The line numbers are for reference only; they are not part of the programs. Any of these examples can be compiled (under Unix) using a command of the form
cc file.c -lwfdb |
or, if the WFDB library or its *.h
files are not in the standard
locations:
cc `wfdb-config --cflags` file.c `wfdb-config --libs` |
where file.c is the name of the file containing the source; see section Using the WFDB Library, for further information. The sources for these examples are included in the WFDB Software Package, within the ‘examples’ directory.
Example 1: An Annotation Filter | An annotation filter. | |
Example 2: An Annotation Translator | A WFDB-to-AHA format annotation translator. | |
Example 3: An Annotation Printer | An annotation printer. | |
Example 4: Generating an R-R Interval Histogram | Generating an R-R interval histogram. | |
Example 5: Reading Signal Specifications | A program that prints signal specifications. | |
Example 6: A Differentiator | A differentiator. | |
Example 7: A General-Purpose FIR Filter | A general-purpose FIR filter. | |
Example 8: Creating a New Database Record | Creating a new WFDB record. | |
Example 9: A Signal Averager | A signal averager. | |
Example 10: A QRS Detector | A QRS detector. |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] |
PhysioNet (wfdb@physionet.org)