Pre-Processing pipeline

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