operating system: macOS Monterey (version 12.3.1) Apple M1
I am trying to epoch data from audiovisual stimuli that are long (60 seconds). I have only a few trials.
When using mne.Epochs I specify that I don’t want to reject any epochs but it still does it anyway, although it initially detects all the events it is supposed to. Very puzzling…
Do you have any annotations starting with “BAD”? There is another parameter reject_by_annotation=True, which rejects all segments containing any such annotations.
What is the result of the command @richard suggested (plot_drop_log)? We could try to keep guessing why it’s happening, but looking at the x axis labels in the plot will be easier Once we know the reason, we can help you avoid it.
I think the problem comes from the fact that I resample (from 1000 to 100 Hz) earlier in the pipeline and the the events samples are not accordingly changed. Therefore the tmax that I define for my epochs ends up being too long.
If I don’t resample it rejects only the last one for the same reason (I should have kept the data running a little longer before stopping the recording)