[Eeglablist] Problem with marking data epoch for rejection

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Tue Apr 1 18:55:20 PDT 2014

Dear Derrick and Arno,

I replicated this error.  Please add it to the fix list.

Dear Tomek,

Sorry for inconvenience.
For a temporally solution, please comment out pop_rejspec() line 228-230,

    % if reject
    %    EEG = pop_rejepoch(EEG, rej, 0);
    % end;

It should work, but if otherwise let us know.


2014-03-27 13:39 GMT-07:00 Tomek Ligęza <tsl at poczta.fm>:

>  Dear List,
> I have an issue regarding rejecting data epochs using spectral estimates.
> I need EEGLAB to only mark trials for rejection. Everything works fine
> when I call the function from the menu: Tools -> Reject data epochs ->
> Reject by spectra and set "Reject marked trials" field to "NO".
> However, when I try the same using the command:
> EEG = pop_rejspec( EEG, 1,'elecrange',[1:EEG.nbchan-5] ,'threshold',[-100
> 30] ,'freqlimits',[25 45]
> ,'eegplotcom','','eegplotplotallrej',0,'eegplotreject',0);
> trials that should be only marked for rejection,  are actually rejected  (despite
> the fact that the argument ‘eegplotreject’ is equal to zero).
> Surprisingly,  this command is copied from eeghistory after calling the
> function pop_rejspec from menu Tools.
> How can I mark trials for rejection using a command?
> I would really appreciate your help as I have to use the "command option"
> in my data analysis.
> Regards,
> Tomek Ligeza
> Jagiellonian University, Cracow, Poland
> _______________________________________________
> 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

Makoto Miyakoshi
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20140401/fc0cfcc7/attachment-0001.html>

More information about the eeglablist mailing list