braindecode.preprocessing.CropByAnnotations#
- class braindecode.preprocessing.CropByAnnotations(annotations=None, *, verbose=None)[source]#
Braindecode preprocessor wrapper for
crop_by_annotations().Get crops of raw data file for selected annotations.
- Parameters:
- annotationsinstance of Annotations | None
The annotations to use for cropping the raw file. If None, the annotations from the instance are used.
- verbosebool | str | int | None
Control verbosity of the logging output. If
None, use the default verbosity level. See the logging documentation andmne.verbose()for details. Should only be passed as a keyword argument.
- Returns:
- rawslist
The cropped raw objects.