I have two links to raw MEG fiff files in my protocol, annotated for bad segments and preprocessed with some resampling/filtering.
I need to calculate ICA on this data concatenated: i.e: I would like to pass to the ICA the two datasets concatenated as a single one, preserving events and, ideally, marking the boundary of concatenation as bad segment.
Is this possible in Brainstorm by scripting ?
I’ve already tried to import data in database, concatenate them “manually” creating structures and correcting events. I’ve managed to get a correct result but I cannot feed anymore the imported data to the ICA process.
I apologize but maybe I didn’t explain very well what I want to do.
I don’t want to use a raw dataset (let say A) for calculating ICA projectors and the use them to clean another dataset (let say B).
I would like to calculate ICA projectors using [A B] as a unique data input to the ICA algorithm.
I don’t think it is possible via the ICA pipeline. However, you can save the ICA component time series and compute the 1xn correlation of the ICA time series with HEOG using another the connectivity processing library in Brainstorm.