[Eeglablist] How to save rejected epoch information

Tarik S Bel-Bahar tarikbelbahar at gmail.com
Sat Oct 14 21:16:24 PDT 2017

Hello Carolina, here are some things for you to try briefly, best wishes!

If you haven't, try googling your topic and "eeglablist" for previous
responses about this topic.
Also if you haven't yet gone through the eeglab tutorial with tutorial
data, try that first, and review eegh steps.

Look into the rejection information fields of the EEG structure. Review
EEglab tutorial information about acessing data structures. These are
usually updated after

See also tmp reject structures and the following field listed below, which
you would find if you reviewed the code for the functions that do epoch
rejection (the ones you use in your code


I believe the field above gets properly populated after the
eeg_rejsuperpose command.

Thanks for letting us know if you have success. If so, please share your
solution in a response email that other users can benefit from.

On Thu, Oct 12, 2017 at 1:46 AM, Carolina Labbe Rodriguez <
Carolina.Labbe at unige.ch> wrote:

> Dear all,
> I have a question about how to store the ordinal position of rejected
> epochs in an epoched data set file. The idea is to then make a table
> of total number of original epochs by participants with each cell
> containing either the number of rejected or kept epochs.
> Presumably I could save the number of the rejected epoch ("EEG.trial")
> somewhere between lines 1 and 2 of the following script, right?
> EEG = pop_autorej(EEG, 'nogui','on','threshold',100,'startprob',3);
> EEG = eeg_rejsuperpose( EEG, 1, 1, 1, 1, 1, 1, 1, 1);
> EEG = pop_rejepoch( EEG, [],0);
> Is there any way of getting this information? My apologies if the question
> is too basic, I'm still relatively new to EEGLAB and I cannot figure it
> out. I am open to using other functions for automatic epoch rejection.
> Thanks,
> Carolina
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.
> ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20171014/523ed43e/attachment.html>

More information about the eeglablist mailing list