[Eeglablist] pop_rejepoch

Piotr Jaskowski jaskowski at vizja.pl
Wed Nov 4 10:53:10 PST 2009


Hi All,
               I want to write a script using dataset history. A part of it
is 
 
EEG = pop_rejepoch(EEG,[2 10 37 etc.], 0);
 
In the help I found that the second input parameter is "Array of 0s and 1s
(depicting rejected trials) (size is number of trials)". First, I see no 0s
and 1s. I expect these are epoch number to be rejected. Second, if it is
true, then the next problem is how should I call this routine in the script
if I don't know in advance which epochs should be rejected. I expect that if
I call it as it is with another dataset, the routine will remove the same
epochs as in the previous dataset, that is 2nd, 10th, 37th etc. 
               Could anyone help me with this problem?
 
Best, 
Piotr Jaskowski
 
---------------------------------------------------
Prof. Piotr Jaskowski, Ph.D.
Department of Cognitive Psychology
University of Finance and Management
Pawia 55, 01-030 Warszawa, Poland
http://cogn.vizja.pl
 





--

Specjalna oferta ksiazek i podrecznikow: http://oferta.vizja.net.pl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20091104/dfc54256/attachment.html>


More information about the eeglablist mailing list