[Eeglablist] question about pop_eegthresh function

Liu Pan pliu261 at gmail.com
Thu Mar 7 15:36:51 PST 2013


Thanks Makoto! This works perfect.

On Thu, Mar 7, 2013 at 12:39 PM, Makoto Miyakoshi <mmiyakoshi at ucsd.edu>wrote:

> Dear Liu,
>
> > *elec_comp,* which will automatically take ALL components into
> consideration for each file.
>
> elec_comp = 1:size(EEG.icaweights,1);
>
> Makoto
>
> 2013/3/6 Liu Pan <pliu261 at gmail.com>
>
>> Hi colleagues,
>>
>> I'm using the *pop_eegthresh *function for epoch rejection based on
>> component activities:
>>
>> *[EEG Indexes] = pop_eegthresh( INEEG, typerej, elec_comp, lowthresh,
>> upthresh, starttime, endtime, superpose, reject)*
>>  in which *elec_comp **[e.g., 1:32]* referes to the number of channels
>> or components selected for epoch rejection.
>>
>> 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 *elec_comp* file by file, I'm wondering wether there is a
>> default setting of *elec_comp,* 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).
>>
>> Thanks for your input! Pan
>>
>>
>>
>>
>>
>> --
>> Liu Pan, PhD. Candidate
>> Neuropragmatics and Emotion Lab (Pell Lab)
>> School of Communication Sciences and Disorders
>> Faculty of Medicine, McGill University
>> Montreal, Canada
>>
>>
>> _______________________________________________
>> 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
> JSPS Postdoctral Fellow for Research Abroad
> Swartz Center for Computational Neuroscience
> Institute for Neural Computation, University of California San Diego
>



-- 
Liu Pan, PhD. Candidate
Neuropragmatics and Emotion Lab (Pell Lab)
School of Communication Sciences and Disorders
Faculty of Medicine, McGill University
Montreal, Canada
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20130307/42d2d7ae/attachment.html>


More information about the eeglablist mailing list