next up previous contents
Next: Reading and writing signals Up: Special input modes Previous: WFDB_setgvmode   Contents

WFDB_getspf

SPF = WFDB_getspf;

SPF: Samples per frame.

Unless the application is operating in WFDB_HIGHRES mode (see section 3.2.3) and has then opened a multi-frequency record, this function returns 1. For the case of a multi-frequency record being read in high resolution mode, however, WFDB_getspf returns the number of samples per signal per frame (hence WFDB_sampfreq/WFDB_getspf is the number of frames per second).



George Moody 2003-11-30