[Eeglablist] multiple tasks on one cnt file

Kavanaugh, Brian brian_kavanaugh at brown.edu
Sat Jun 15 06:00:41 PDT 2019


Peter,

This is great, thank you. Quick follow-up.

 When trying to create a code from this for multiple participants, the
issue is that the # type for the start/stop trigger may be different for
each participant (depending on how they answered). because of the varying
place for the start/stop triggers, a code like this wouldn't work: "EEG =
pop_editeventvals(EEG,'changefield',{631 'type' 'stop_1007  Task 1
(start/stop)'});".

is there a way to get around this? maybe noting something such as if 1st
occurrence of trigger 1007, then 1007_start, if 2nd occurrence, then
1007_stop?

Thank you!

Brian

On Sat, Jun 15, 2019 at 8:43 AM Peter de Lissa <pdelissa at gmail.com> wrote:

> The trigger values can be changed by changing values in EEG.event when you
> load up the files. You can modify the event names as well as the time of
> the events if necessary. You can then epoch the conditions according to the
> numbers you choose for your conditions.
>
>
> > On 15 Jun 2019, at 12:57 pm, Kavanaugh, Brian <brian_kavanaugh at brown.edu>
> wrote:
> >
> > Hi all,
> >
> > I have cnt files that contains resting and two tasks and i'm looking to
> > separate into 3 separate files. there are markers to signify the task,
> but
> > start and stop are the same event (e.g., 1001 for resting start/stop,
> 1005
> > for go/nogo start/stop, etc). does anyone know the easiest way to extract
> > into 3 separate files? related, does anyone know how to rename triggers
> to
> > reflect their order of appearance? thank you!
> >
> > brian
> >
> > --
> > Brian Kavanaugh, PsyD.
> > Pediatric Neuropsychologist, E. P. Bradley Hospital/Rhode Island Hospital
> > Assistant Professor (Research), Warren Alpert Medical School of Brown
> > University
> > _______________________________________________
> > 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
>


-- 
Brian Kavanaugh, PsyD.
Pediatric Neuropsychologist, E. P. Bradley Hospital/Rhode Island Hospital
Assistant Professor (Research), Warren Alpert Medical School of Brown
University



More information about the eeglablist mailing list