mne.io.
find_edf_events
(raw)[source]¶Get original EDF events as read from the header.
For GDF, the values are returned in form [n_events, pos, typ, chn, dur] where:
name | description | type |
---|---|---|
n_events | The number of all events | integer |
pos | Beginnning of the events in samples | array |
typ | The event identifiers | array |
chn | The associated channels (0 for all) | array |
dur | The durations of the events | array |
For EDF+, the values are returned in form n_events * [onset, dur, desc] where:
name | description | type |
---|---|---|
onset | Onset of the event in seconds | float |
dur | Duration of the event in seconds | float |
desc | Description of the event | str |
Parameters: | raw : Instance of RawEDF
|
---|---|
Returns: | events : ndarray
|