raw, timestamp = ur.MNE_Read_EDF(path)
mne_events, events_dict = ev.MNE_prepare_events(path, timestamp)
epochs = mne.Epochs(raw, mne_events, events_dict, tmin=-0.5, tmax=0.5)
signal = epochs.plot(block=True)
This seems simple but I'm lost. I have raw eeg signal in edf files and events in a csv file. I managed to create epochs by those events and then plot the raw signal with marked events, however I need to transfer it into a file that's accessible in matlab. I can't use scipy.io.savemat for a plot I guess? I can't simply load these files into matlab because somehow it desynchronizes epochs, probably due to averaged sampling frequency. MNE doesn't do this, but further analysis has to be conducted in matlab. Help much appreciated, I can't find an answer on MNE website.