raw_adata_to_mne_raw#
- syncopy.raw_adata_to_mne_raw(adata)[source]#
Convert raw spy.AnalogData (single-trial data) to an MNE Python RawArray.
This function requires MNE Python (package ‘mne’) and will raise an ImportError if it is not installed.
- Parameters:
adata (AnalogData instance, must be single-trial data (no trial definition, or a single trial spanning the full data), as mne.io.RawArray does not support trials. Use function tldata_to_mne_epochs if you want to convert epoched or time-locked AnalogData to MNE Python. WARNING: the trial definition, if any, will be completely ignored during export, and the full data will be exported.) –
- Returns:
ar
- Return type:
mne.io.RawArray instance