next up previous contents
Next: Reading and Writing Signals Up: Special Input Modes Previous: WFDB_setgvmode   Contents


WFDB_getspf

Usage: SPF = WFDB_getspf;  
Output: SPF: samples per frame  

Unless the application is operating in WFDB_HIGHRES mode (see section 3.2) 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 B. Moody 2005-06-02