[Eeglablist] Creating new event codes based on previous combination of event codes in each trial

Clement Lee cll008 at eng.ucsd.edu
Wed Sep 23 13:43:07 PDT 2020


Hi Renzo,

What are you trying to accomplish by recoding the stimulus event to contain
information about the response? Depending on your goal, there may be easier
or more common pipelines to follow.
Have you looked through the EEGLAB wiki's tutorial pages?
 https://sccn.ucsd.edu/wiki/I.Single_subject_data_processing_tutorial
<https://sccn.ucsd.edu/wiki/I.Single_subject_data_processing_tutorial>.
Particularly, Ch. 3 (https://sccn.ucsd.edu/wiki/Chapter_03:_Event_Processing
) seems relevant in your case.

Best,
Clement Lee
Applications Programmer
Swartz Center for Computational Neuroscience
Institute for Neural Computation, UC San Diego
858-822-7535


On Wed, Sep 23, 2020 at 12:20 PM Renzo Lanfranco <renzo.lanfranco at gmail.com>
wrote:

> Hi everybody,
>
> Thanks in advance. I was hoping someone could lend me a hand. I need to
> perform the following analysis and don't know how:
>
> This is for an EEG decoding analysis, but the EEG data (Biosemi 64) was
> pre-processed in EEGLAB. Each epoch has two relevant event codes: the
> stimulus class code (printed at time zero) and a response type code
> (printed at the moment the participant pressed a key). Therefore, the
> second event code can vary in time whereas the first event code doesn't.
>
> What do I need to do?
> Based on these event codes, I need to create new event codes for every
> trial and print new codes at time zero that can comprise the previous event
> codes. For example, if event code at time zero can be 1, 2 or 3, and
> response code printed later can also be 4, 5 or 6., I now need to have
> event codes at time zeroes that account for all those combinations, e.g.
> 14, 15, 16, 24, 25, 26, 34, 35, and 36.
>
> Any ideas how can I accomplish this? I don't have much experience working
> with EEGLAB structures.
>
> Thanks so much,
> R
> _______________________________________________
> 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