[Eeglablist] Epoch Rejection with pop_eegmaxmin, which epoch is rejected in time?

Krogmeier, Claudia Marie ckrogmei at purdue.edu
Wed Mar 2 14:47:04 PST 2022


Hello EEGLAB list,

I have several EEG trials of data which each last 40 seconds and have been epoched into 2 sec segments. I use this code:

[EEG, comrej]    = pop_eegmaxmin(EEG,[ch_myf7 ch_myf8],[0      1996.0938],100,1996.0938,1,0);EEG = pop_TBT(EEG,EEG.reject.rejmaxminE,4,0.3,0);

in order to reject epochs +-100 microvolts.

My question:  Is there a way to know which epochs in time have been rejected?  For example, perhaps the 3rd epoch is rejected from one of the 40 second trials (so, the epoch is from 4-6 seconds in the trial has been rejected). Currently I output how many epochs from each trial are rejected, but I do not know how to access their index/time location in the trial.

Thank you for any help,
Claudia



More information about the eeglablist mailing list