mne.preprocessing.annotate_nan#
- mne.preprocessing.annotate_nan(raw, *, verbose=None)[source]#
Detect segments with NaN and return a new Annotations instance.
- Parameters:
- rawinstance of
Raw
Data to find segments with NaN values.
- verbose
bool
|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.
- rawinstance of
- Returns:
- annotinstance of
Annotations
New channel-specific annotations for the data.
- annotinstance of