int iannsettime(DB_Time t)
Return:
This function resets the input annotation file pointers so that the next
annotation read by getann
from each input annotation file will be
the first occurring on or after sample number |t| in that file.
Only the magnitude of t is significant, not its sign; hence values
returned by strtim
can always be used safely as arguments to
iannsettime
(see section [ms]timstr).
This function will fail if a pipe is used for input and |t| is less
than the time of the most recent annotation read from the pipe.
See section Example 9: A Signal Averager, for an illustration of the use of iannsettime
.
The version of iannsettime
that is included on the first edition
of the MIT-BIH Arrhythmia Database CD-ROM contains a bug that can
occasionally cause incorrect results. To avoid this problem when using
that version of the library, make at least one call to getann
before using iannsettime
. The bug was corrected in version 4.0
of the DB library.
Go to the first, previous, next, last section, table of contents.