If you have a question or issue with MNE-Python, please include the following info:
I now proceed to the following steps:
epochs.equalize_event_counts([‘pain’,‘noPain’])
After I use MNE for preprocessing, I want to export EEG data to Excel on average. Could you please tell me how to do it?
Hello, if you’ve created evoked objects with MNE-Python, you can then use their to_data_frame() method to generate a Pandas DataFrame, from where you can easily export to XLSX, CSV, etc., e.g.:
to_data_frame()
evoked_df = evoked.to_data_frame(index='time') evoked_df.to_excel('evoked.xlsx')
Best wishes, Richard
Thank you very much for your answer