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

isigsettime

 
int isigsettime(WFDB_Time t)
Return:

0
Success
-1
Failure: EOF reached or improper seek

This function resets the input signal file pointers so that the next samples returned from getvec will be those with sample number |t|. Only the magnitude of t is significant, not its sign; hence values returned by strtim can always be used safely as arguments to isigsettime (see section [ms]timstr). This function will fail if a pipe is used for input and |t| is less than the current sample number. See section Example 7: A General-Purpose FIR Filter, and see section Example 9: A Signal Averager, for illustrations of the use of isigsettime.



George B. Moody (george@mit.edu)