[Eeglablist] [eeglab] Question about extracting epochs

Arnaud Delorme arno at salk.edu
Tue Apr 6 16:03:45 PDT 2004


Mike Cohen wrote:

> Hi. When extracting epochs from continuous data, the epochs are sorted 
> in numerical order according to the event number (i.e., all the 1s 
> first, then all the 2s, then all the 3s, etc.). However, I'd like to 
> have them sorted them chronologically instead. Is there a way to keep 
> the chronological order when epoching different event types? Or is 
> there a way to re-sort extracted epochs according to when during the 
> experiment those events occured?

No, the epochs are ordered chronologically by default. You should not 
have to re-order them. You may use the function pop_editeventvals() from 
the command line and the sort option to re-order events (though this 
will not re-order the epochs).

Best

Arno
-- 

*Arnaud Delorme, Ph.D.*
Computational Neurobiology Lab, Salk Institute
10010 North Torrey Pines Road
La Jolla, CA 92037 USA

*Tel* : /(+1)-858-458-1927 ext 15/
*Fax* : /(+1)-858-458-1847/
*Web page *: www.sccn.ucsd.edu/~arno <http://www.sccn.ucsd.edu/%7Earno>
*To think upon*:

    When you have an itch, you scratch. But not to itch at all is better
    than any amount of scratching.

        /Nagarjuna/  





More information about the Eeglablist mailing list