extract_signal#
- torch_brain.utils.mne.extract_signal(recording_data, ignore_channels=None)[source]#
Extract entire time-series signal from an MNE Raw object.
- Parameters:
- Return type:
- Returns:
RegularTimeSeries object containing the signal matrix and time information.
- Raises:
ImportError – If MNE is not installed.
ValueError – If the recording contains no samples.