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:
  • recording_data (BaseRaw) – The MNE Raw object containing signal data.

  • ignore_channels (Optional[list[str]]) – Optional list of channel names to ignore. If provided, the channels will be excluded from the extraction.

Return type:

RegularTimeSeries

Returns:

RegularTimeSeries object containing the signal matrix and time information.

Raises: