[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

getspf

 
int getspf(void)
Return:

(int)
the number of samples per signal per frame

Unless the application is operating in WFDB_HIGHRES mode (see section setgvmode) 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, getspf returns the number of samples per signal per frame (hence sampfreq(NULL)/getspf() is the number of frames per second).



George B. Moody (george@mit.edu)