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

3.5 Segment Information Structures

Objects of type WFDB_Seginfo contain these fields:

char recname[WFDB_MAXRNL+1]

Segment name (the name of the simple record corresponding to a segment of a multi-segment record), unless recname has the special value ’~’. In the latter case, the segment is a gap (i.e., it corresponds to an interval during which no signals are available).

WFDB_Time nsamp

Segment length in samples.

WFDB_Time samp0

Number of samples that precede the segment in the multi-segment record to which it belongs. If the segment is opened as an individual record, its nth sample has sample number n-1, just as for any record. If the record to which the segment belongs is opened, the nth sample in the segment has sample number n-1+samp0.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]

PhysioNet (wfdb@physionet.org)