Issue: Epoch being dropped

Hi,

In mne.preprocessing.creat_eog_epochs method, the variable reject from the documentation is None as default, and the documentation setting reject = None, meanings no rejection is done. Does it have any thing to do with some epochs being dropped?

I have a data and it keeps dropping an epoch after calling the method and I don’t want it to drop any epoch. Is there something I can do to prevent an epoch from being dropped?

Suggestions are welcomed.

I have been able to solve the issue.

setting preload=False helped.

But does it have a significant change to the result?

This will only postpone the dropping of that epoch.

Usually, if it’s only the very first or last epoch that’s getting dropped, it’s because the epoch would extend beyond the beginning or end of the recording, respectively. Adjusting the duration (baseline period and epoch duration) can fix this.

You may also want to check out the drop log plot via epochs.plot_drop_log().

Best wishes,
Richard

Yes, its the last epoch that’s being dropped. I did that and it said TOO SHORT’.

I checked the epoch after using the preload=False, and i did not see anything being dropped.

My baseline is from 0.0 to 5.0 secs and i set the epoch duration, well the min time = 0.0 and i didn’t set the max time.

Also, I though it was not advisable to add baseline when doing epoch

I don’t understand what this means, sorry.

For most analyses, this is not correct. In fact, the opposite is true.

Best wishes,
Richard

Oh that was me talking about the parameters i set for the baseline and epoch.

Ohh i see. Okay, thanks for the correction.