[Eeglablist] eeg_context ?

Ana Maria Cebolla Alvarez acebolla at ulb.ac.be
Fri Feb 28 11:50:35 PST 2014


Dear All,

I would like to study all events of a certain type ('247') that precede some other types ('120', '121', '122'
) to create epochs with the selected '247' type, (duration [-1  3]). I don't think that I need to  specify any delays within a given range


In the tutorial, I read about the eeg_context function. It seems vey promising, but as my programming skills are really bad, I didn't have any success trying with it.

The thing is that I don't event know how continue the next lines that the tutorial proposes, till epoching the data with the selected  events


Help?


% For each target 'square' event, find the succeeding '120' , '121', '122'.. events
[targsrt,nextrts,nxtypert,rtlats] = eeg_context(EEG,{'247'},{'120'},1);  % find succeeding 120 events
[targssq,nextsqs,nxtypesq,sqlats] = eeg_context(EEG,{'247'},{'121'},1);  % find succeeding 121 events

Thank you so much,
Kind regards,
anita

Ana Maria Cebolla Alvarez (PhD)
Laboratory of Neurophysiology and Movement Biomechanics, FSM
Université Libre de Bruxelles
ULB - Campus ERASME - CP 640
N.5.109 (5th floor)
808, Route de Lennik
1070 ANDERLECHT
Belgium
Ph.+32/2/555.39.88 +32/2/555.33.93 +32/2/555.34.74

 




More information about the eeglablist mailing list