Newsarchiv LOGO

Mail Index

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FAQ: How to access Event/Marker information ?

Date Wed, 23 Mar 2005 12:21:01 +0100
From Alois Schlögl <alois.schloegl***AT***>
Subject FAQ: How to access Event/Marker information ?
Newsgroups tu-graz.biosig
Organization Technische Universitaet Graz
User-agent Mozilla Thunderbird 0.9 (Windows/20041103)
Xref archive tu-graz.biosig:22

Q3) How can I access the Event and marker information?

A3) After HDR=sopen(...) or [s,HDR]=sload(...), you can access the event information through the following fields:

HDR.EVENT.TYP type of event/marker/annotation according to table biosig/t200/eventcodes.txt or the latest version from
HDR.EVENT.POS   position in samples
HDR.EVENT.DUR	duration of event (in samples)
HDR.EVENT.CHN	associated channel, 0 if event applies to all channels

The fields DUR and CHN might not be present if all their elements are zero.