[Eeglablist] 60s long epochs

Delorme, Arnaud adelorme at ucsd.edu
Wed Mar 9 10:22:04 PST 2022


Dear Mike,

You may extract 60-second length epochs in EEGLAB. You can also process segmented data in EEGLAB (epochs of different lengths). However, this will be considered as continuous data with gaps, and all the functions for processing data epochs will not be available. I know Fieldtrip allows processing data epochs of different lengths from the MATLAB command line, although I have never tried it. You can go back and forth between EEGLAB and Fieldtrip data structures easily.  https://urldefense.proofpoint.com/v2/url?u=https-3A__eeglab.org_others_EEGLAB-5Fand-5FFieldtrip.html&d=DwIFAg&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=3CBE4bLtWt0GecF1xNnx3u7OFFqj0TMaLQhgWMqw68IgUIB2gjsWFsqTqZjX2NON&s=JWWNy648OBlSy-9_uFACtO3V8ihEIUmimGNBiDWzBxQ&e= 

Best wishes,

Arno

> On Mar 9, 2022, at 10:05 AM, Makoto Miyakoshi via eeglablist <eeglablist at sccn.ucsd.edu> wrote:
> 
> Dear Mike,
> 
> If you want to do it manually via GUI, you can add event at specified time
> points, then you can 'epoch' them.
> You can of course write code to do this too. In doing so, add events first,
> then epoch. See my page here fyi
> https://sccn.ucsd.edu/wiki/Makoto%27s_useful_EEGLAB_code#How_to_build_a_new_event_structure_from_scratch_.2801.2F08.2F2021_added.29
> 
> Makoto
> 
> On Fri, Mar 4, 2022 at 8:48 AM Mike Winstanley via eeglablist <
> eeglablist at sccn.ucsd.edu> wrote:
> 
>> Hi,
>> 
>> Is there a way to generate 60s epochs? Or have an epoch from one event to
>> another over this sort of timescale?
>> 
>> I am looking to create time-frequency decompositions of longer cognitive
>> tasks. In the first instance I want to create 60s long epochs from a
>> particular event (or to the event that denotes the end of the task).
>> 
>> After that (and on a different dataset) I will be looking to extract
>> longer epochs (3 mins 40s max). The complication here is that these epochs
>> will be variable in length due to how long it takes the participant to
>> finish the task.
>> 
>> Is there a better way of doing this?
>> 
>> Kind regards,
>> Mike
>> 
>> 
>> _______________________________________________
>> 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
>> 
> _______________________________________________
> 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