tldata_to_mne_epochs#

syncopy.tldata_to_mne_epochs(tldata)[source]#

Convert Syncopy timelocked data to MNE Python mne.EpochsArray.

This function requires MNE Python (package ‘mne’) and will raise an ImportError if it is not installed.

Parameters:

tldata (syncopy.TimeLockData or AnalogData instance that is timelocked. If AnalogData, the user must make sure that the data is time-locked, which can be tested via the is_time_locked property of Analogdata. Use function raw_adata_to_mne_raw instead if you want to convert raw data without trials to MNE Python.) –

Returns:

epochs

Return type:

mne.EpochsArray instance