mne.
read_events
(filename, include=None, exclude=None, mask=None, mask_type=’not_and’)[source]¶Read events from fif or text file.
Parameters: | filename : string
include : int | list | None
exclude : int | list | None
mask : int | None
mask_type: ‘and’ | ‘not_and’
|
---|---|
Returns: | events: array, shape (n_events, 3)
|
See also
Notes
This function will discard the offset line (i.e., first line with zero event number) if it is present in a text file.
For more information on mask
and mask_type
, see
mne.find_events()
.