Export annotation of the MNE-PYTHON for EEGLAB

Hi,
i would like to know how to save annotation data to export to EEGLAB? The raw.export() function does not allow exporting annotations data and neither does raw.export_epochs()? Could you help me please?

Hi @leticiabragas2, how would you like to export annotations to EEGLAB, as .events field? Currently this is not supported, but you could export the annotations to a csv file (for example annot.save('my_annotations.csv')), then read them into matlab and turn into .events youself.

2 Likes

Hi, I was also trying to export annotations to EEGLab in my .set file. I was wondering if the new versions support exporting both annotations to EEGLab? Thanks.

Not entirely sure, but you could look into: GitHub - jackz314/eeglabio: I/O support for EEGLAB files in Python.