Rejection of continuous data segments

Hello, I understand that MNE has a way to manually annotate bad segments of continuous data. However, I am wondering if the reject_by_annotation=‘True’ argument that is used in numerous functions permanently removes the bad segments of continuous data or is a temporary way to exclude segments so that they are not considered for the function of interest. If the latter is true, is there a function that permanently rejects segments of raw data? Thank you in advance.

Hello @schemankr and welcome to the forum!

It’s a temporary exclusion of the annotated data.

I don’t think so — you don’t want to cut out parts of your continuous data and glue the rest back together, as this will introduce discontinuities, which will be problematic for many functions. As long as you have the annotations, MNE can at least try to be clever and apply a band-aid when it excludes data.

Best wishes,

1 Like