extract_signal#
- brainsets.utils.mne_utils.extract_signal(recording_data, ignore_channels=None)[source]#
Extract entire time-series signal from an MNE Raw object.
- Parameters:
recording_data – The MNE Raw object containing signal data.
ignore_channels – Optional list of channel names to ignore. If provided, the channels will be excluded from the extraction.
- Returns:
RegularTimeSeries object containing the signal matrix and time information.
- Raises:
ImportError – If MNE is not installed.
ValueError – If the recording contains no samples.