Pre-Processing pipeline

Screenshot 2021-11-18 142104
Can someone tell me, if this is the right pre-processing pipeline for continuous MEG data from Elekta Neuromag?. We were trying to calculate non linear measures after importing pre-processed data into MATLAB? We are getting some unexpected results.
Thanks in advance

1 Like

Some comments:

1 Like

Thank you very much.
Another small query, after we identify the bad segments, while analysing do the bad segments are taken into account for the analysis??
Because what I have seen is, when we import the bad segments are remain in the imported data.
We want 20 seconds of artefact free data. Have continuous file up to 5min. Do you suggest to split the data into epochs while importing?? Or we can just analyse the entire data at once. As we are not doing any task related or event related analysis. It’s just the resting state analysis.

Another small query, after we identify the bad segments, while analysing do the bad segments are taken into account for the analysis??

Bad segments in continuous files: it depends for what.
For PSD computations: the windows overlapping with a bad segment are ignore.
For other processes, like filters: the bad segments are ignored.

When epoching the data, epochs overlapping with bad segments are marked as bad, which are ignore from the analysis:

Bad segment in imported files are usually ignored (except by a few processes, like the PSD computation).

We want 20 seconds of artefact free data. Have continuous file up to 5min. Do you suggest to split the data into epochs while importing?? Or we can just analyse the entire data at once.

Split the data in a way that is convenient for you.
If an imported file is marked as bad and you need to be able to process it, mark it as good manually:
https://neuroimage.usc.edu/brainstorm/Tutorials/Epoching#Review_the_individual_trials

1 Like