<div dir="ltr">Dear Derrick and Arno,<div><br></div><div>I replicated this error.  Please add it to the fix list.</div><div><br></div><div>Dear Tomek,</div><div><br></div><div>Sorry for inconvenience.</div><div>For a temporally solution, please comment out <span style="font-family:arial,sans-serif;font-size:14px">pop_rejspec() </span>line 228-230, like</div>

<div><br></div><div><div>    % if reject</div><div>    %    EEG = pop_rejepoch(EEG, rej, 0);</div><div>    % end;</div></div><div><br></div><div>It should work, but if otherwise let us know.</div><div><br></div><div>Makoto</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-27 13:39 GMT-07:00 Tomek Ligęza <span dir="ltr"><<a href="mailto:tsl@poczta.fm" target="_blank">tsl@poczta.fm</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<u></u>
<div>

<p class="MsoNormal"><span lang="EN-GB">Dear List,</span></p>

<p class="MsoNormal"><span lang="EN-GB">I have an
issue regarding rejecting data epochs using spectral estimates.</span></p>

<p class="MsoNormal"><span lang="EN-GB">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".</span></p>

<p class="MsoNormal"><span lang="EN-GB">However,
when I try the same using the command:</span></p>

<p class="MsoNormal"><span lang="EN-GB">EEG =
pop_rejspec( EEG, 1,'elecrange',[1:EEG.nbchan-5] ,'threshold',[-100 30]
,'freqlimits',[25 45]
,'eegplotcom','','eegplotplotallrej',0,'eegplotreject',0); </span></p>

<p class="MsoNormal"><span lang="EN-GB">trials that
should be only marked for rejection, <span> </span>are
actually rejected <span> </span>(despite the fact that
the argument ‘eegplotreject’ is equal to zero).</span></p>

<p class="MsoNormal"><span lang="EN-GB">Surprisingly,<span>  </span>this command is copied from eeghistory after
calling the function pop_rejspec from menu Tools. </span></p>

<p class="MsoNormal"><span lang="EN-GB">How can I mark
trials for rejection using a command?</span></p>

<p class="MsoNormal"><span lang="EN-GB">I would
really appreciate your help as I have to use the "command option" in my data
analysis.</span></p>

<p class="MsoNormal"><span lang="EN-GB"> </span></p>

<p class="MsoNormal"><span lang="EN-GB">Regards,</span></p>

<p class="MsoNormal"><span lang="EN-GB">Tomek
Ligeza</span></p>

<p class="MsoNormal"><span lang="EN-GB">Jagiellonian
University, Cracow, Poland</span></p>

</div>
<br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br><br clear="all"><div><br></div>

-- <br><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div>
</div>