I have an automatic EEG pre-processing pipeline in MNE, but I want to try doing some of my analysis in Brainstorm. The data is epoched as a part of the preprocessing and I’m able to save it out as a Neuromag .fif file.
The problem comes when I try importing the epoched data into Brainstorm, I lose all the event data. Every epoch is put into the folder ‘Epoch’ and they all get labelled with the same label 'Epoch’. I'm not so bothered about the events being missing as each epoch should only have one event, but the lack of meaningful labelling is more of an issue.
I suppose if each epoch file name is numbered correctly I might be able to write a script that applies the correct label to each file. Is there a different import method or file format I’m missing or is that the only way?
Thanks for letting me know that events aren't supported.
Since the import order is the same as in MNE, I was able to make a Brainstorm script that would add multiple tags from a csv file with the column 'label' and a row for each epoch event.
I'll share it for anyone else who has the same issue, but it's literally just a bastardized version of 'Add Tag' that I duplicated and tweaked slightly: process_tag_by_events.m (6.5 KB)