How to do different windowizing (epoching) in different subregions of a Raw data.


I want to split my raw data into multiple regions, and then epoch each region differently. So far for creating different regions, I’ve used annotations, and I’ve annotated each region in the raw file.

I need to do overlapped epoching in some regions, and some normal epoching in other regions. The problem I currently have is that I do not know how can I seperate these annotations from each other, epoching region of each in isolation from others.

  • MNE-Python version: 0.23.4
  • operating system: Linux

Hello @FeryET,

I guess what you could do is use the temporal information from the annotations to crop a copy of the data, and then make epochs based on this. For example,

raw_for_epoching = raw.copy().crop(
epochs = mne.Epochs(raw=raw_for_epoching, ...)

Good luck,

1 Like