Oh this is not supposed to work at all, this was just an idea of how I imagine things could work if we implemented @drammock’s suggestion. But we have not yet worked on this.
ups haha thanks for clarifying!!
Hi @FranziMNE, may I ask what you ended up doing in this case? I have the very same problem!
Wishing you a lovely day,
Sabia
Hi Sabia,
sorry for replying so late! Sooo there wasnt a perfect solution for this. I decided to do it like this:
reject_criteria= dict(
eeg=100e-6) # 100 µV
flat_criteria= dict(
eeg=1e-6) # 1 µV
# Epoch data
epochs = mne.Epochs(raw_load,
events,
event_id=event_id,
baseline=(-0.2,0),
tmin=-0.2,
tmax=1,
reject=reject_criteria,
flat=flat_criteria,
detrend=1,
reject_by_annotation=False,
proj=True,
preload=True,
)
len(epochs.events)
https://mne.tools/dev/auto_tutorials/preprocessing/20_rejecting_bad_data.html
It is not perfect, but the best in my point of view
Hope this helps
Best
Franzi
1 Like
Hi Franzi,
please, do not worry! That was not a late reply at all! Thank you so much for sharing this! I will try it now too
Wishing you a lovely weekend!
Sabia
1 Like
Hi Just reach out to me if I you need any help
Have a nice weekend!
Franzi
2 Likes