Dear Liu,<div><br></div><div><font face="Helvetica">> </font><font face="Helvetica"><em>elec_comp,</em> </font><font face="Helvetica">which will automatically take ALL components into consideration for each file.</font><br>

<br>elec_comp = 1:size(EEG.icaweights,1);</div><div><br></div><div>Makoto<br><br><div class="gmail_quote">2013/3/6 Liu Pan <span dir="ltr"><<a href="mailto:pliu261@gmail.com" target="_blank">pliu261@gmail.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><font face="Helvetica">Hi colleagues,</font></div><div><font face="Helvetica"></font> </div><div><font face="Helvetica">I'm using the <em>pop_eegthresh </em>function for epoch rejection based on component activities:</font></div>



<div><font face="Helvetica"></font> </div><div><font face="Helvetica"><em>[EEG Indexes] = pop_eegthresh( INEEG, typerej, elec_comp, lowthresh, upthresh,  starttime, endtime, superpose, reject)</em></font><br clear="all">


</div>
<div>in which <em>elec_comp </em><font face="Helvetica"><em>[e.g., 1:32]</em> </font>referes to the number of channel<font face="Helvetica">s or components selected for epoch rejection.</font></div><div><font face="Helvetica"></font> </div>



<div><font face="Helvetica">I want to run the script on a batch of .set files which have different numbers of components. Since it would be time-consuming to adjust the values of <em>elec_comp</em> file by file, I'm wondering wether </font><font face="Helvetica">there is a default setting of <em>elec_comp,</em> </font><font face="Helvetica">which will automatically take ALL components into consideration for each file. I tried to leave the bracket blank but it turmed out to be a default of "0" (0 component was selected for rejection).</font></div>



<div><font face="Helvetica"></font> </div><div><font face="Helvetica">Thanks for your input! </font><font face="Helvetica">Pan</font></div><span class="HOEnZb"><font color="#888888"><div><font face="Helvetica"></font> </div>

<div> </div><div> </div><div> </div><div>

<br>-- <br>Liu Pan, PhD. Candidate<br>Neuropragmatics and Emotion Lab (Pell Lab)<br>School of Communication Sciences and Disorders<br>Faculty of Medicine, McGill University<br>Montreal, Canada<br><br>
</div>
</font></span><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>Makoto Miyakoshi<br>JSPS Postdoctral Fellow for Research Abroad<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br>
</div>