Epoch array formation

I need to apply XDAWN filters to my ERPs .I have ERPs in .mat along with the corresponding labels . I don’t have any event file as such. The data was extracted using BCI2000 software .How do i convert the ERPs to the Epochs object .

My data is in form : X_train =(3200,200,8)

total ERPs =3200,time points in each ERP=200, number of channels in each ERP=8

Is there any other way to apply mne XDAWN without converting the ERPs in the form to epoch object .

Hello, to my knowledge, this is not possible with MNE. You can create an EpochsArray and feed that to Xdawn, though.

Best wishes,
Richard