Parameters: |
- raw : instance of Raw
The raw data for which Annotations are defined.
- event_id : dict | Callable | None
Dictionary of string keys and integer values as used in mne.Epochs
to map annotation descriptions to integer event codes. Only the
keys present will be mapped and the annotations with other descriptions
will be ignored. Otherwise, a callable that provides an integer given
a string or that returns None for an event to ignore.
If None, all descriptions of annotations are mapped
and assigned arbitrary unique integer values.
- regexp : str | None
Regular expression used to filter the annotations whose
descriptions is a match.
- use_rounding : boolean
If True, use rounding (instead of truncation) when converting
times to indices. This can help avoid non-unique indices.
- verbose : bool, str, int, or None
If not None, override default verbose level (see
mne.verbose() and Logging documentation
for more). Defaults to self.verbose.
|