Removing segments from raw data

External Email - Use Caution

Hello all,

Is there a way to remove segment of data , centered around an event, from
raw EEG? I know that I can extract epochs around the events, but can I
then remove those epochs from the raw data? Or is there a function that can
directly remove the segment without having to create an epoch.

Thank you,
Neelesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20190930/0995e0be/attachment.html

External Email - Use Caution

Does this solve the problem?

https://mne.tools/dev/auto_tutorials/preprocessing/plot_20_rejecting_bad_data.html#annotating-bad-spans-of-data

Eric

External Email - Use Caution

Yes, it does. Thank you Eric!