[Eeglablist] gathering single trial data with std_readersp

Arnaud Delorme arno at ucsd.edu
Tue Aug 14 21:59:39 PDT 2012


Dear Max,

if you have single subjects, then yes your dimension will be [timepoints, frequencies, trials]. If you have several subjects however, the trials for all subjects will be concatenated. Subject index for each trial will be stored in STUDY.cluster(2).erspsubjinds{1}.

Best,

Arno

On Aug 6, 2012, at 7:14 PM, Makoto Miyakoshi wrote:

> Dear Max,
> 
> I spend a lot of time to figure this out, so I know what you mean.
> I found it all by guessing, but later Arno told me the following wiki page.
> 
> http://sccn.ucsd.edu/wiki/Chapter_07:_EEGLAB_Study_Data_Structures#Understanding_the_.sets.2C_.comps.2C_.setinds.2C_.allinds_substructures_for_STUDY_clusters
> 
> I wish I knew this page before I had spend so long time to figure it
> out myself...
> 
> Makoto
> 
> 2012/8/3 Maximilien Chaumon <maximilien.chaumon at gmail.com>:
>> Hello,
>> 
>> I'm trying to use single trial data in a certain TimeFrequency window of a
>> component cluster to sort trials.
>> 
>> I need to extract for each subject of my study the level of activity in a
>> given TF window for a specific cluster of components.
>> I run:
>> [STUDY, erspdata, times, freqs, erspbase] = std_readersp(STUDY, ALLEEG,
>> 'clusters', 2, 'singletrials','on','subject','1');
>> 
>> and that gives me erspdata{1} of dimensions [timepoints, frequencies,
>> trials], but with manymany trials.
>> I figured out that these trials were for all my subjects and components of
>> that cluster by looking into STUDY.cluster(2). I understand that
>> STUDY.cluster(2).erspsubjinds{1} in there would allow me extracting the
>> signle trials, but I don't know how to pick the right column of
>> erspsubjinds. I guess I have to use a combination of .sets, .setinds or
>> .allinds, but I can't find the right combo... Can I find help about this
>> anywhere? or am I digging too deep?
>> 
>> Many thanks,
>> Max
>> 
>> 
>> _______________________________________________
>> 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
> _______________________________________________
> 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





More information about the eeglablist mailing list