[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This version is the first to support reading variable-layout records (multi-segment records in which the number, arrangement, gains, and baselines of the signals may vary from one segment to the next; see section 5.5 Multi-Segment Records).
Rounding errors in the WFDB library's mstimstr
function have been
reduced. Previous versions did not always round appropriately when the
sampling frequency was much less than 1 Hz.
The maximum length for a record name (WFDB_MAXRNL
, defined in
`wfdb.h') has been increased from 11 to 20.
A new constant, WFDB_INVALID_SAMPLE
, is now defined in `wfdb.h'.
It is used to identify padding inserted to fill in for missing data. When
writing in any format that uses fewer than 16 bits per sample, putvec
maps WFDB_INVALID_SAMPLE
to the lowest (most negative) value expressible
in that format; when reading a signal file in such a format, getframe
performs the inverse mapping, so that missing data can be identified regardless
of the data format.
A side effect of this change is that (for example) any samples that had the most negative value (for example, -2048 in a format 212 signal file) are now flagged as invalid. To treat such samples as invalid is reasonable, however, since these occur only when the input level falls below the working range of the analog-to-digital converter.