[Eeglablist] Marking Response Triggers as Correct or Incorrect Responses

Scott Burwell burwell at umn.edu
Mon Jun 21 08:18:45 PDT 2021


Dear Vic,

A while back, I built a function that may be of interest to you. It
"re-codes" EEG.event based on matching the sequence of events in EEG.event
to a series of expected "templates"; e.g., {'X' 'resp_x'} may be re-coded
as {'X' 'resp_correct'} whereas {'Y' 'resp_x'} may be re-coded as {'Y'
'resp_incorrect'}. Not sure if it solves your problem, but it's worked for
other projects.
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_sjburwell_eeg-5Fcommander_blob_master_functions_basefunc_eeg-5Frecode.m&d=DwIBaQ&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=ZdNHsRzxe6wZdaAFxAvyBu8ksQl-AhjWNNd0Glm7LZY&s=LNiXjD1E2ZnIufwGzeVfeNreOG1v1cALfqvckxleHkE&e= 

Best,
Scott Burwell

On Mon, Jun 21, 2021 at 8:59 AM Scott Makeig via eeglablist <
eeglablist at sccn.ucsd.edu> wrote:

> Vic -
>
> EEGLAB datasets  (each an 'EEG' structure in Matlab) has an 'Events'
> substructure ('EEG.Events') that has event type and latency as required
> fields. Other info can be entered as new fields (such as, 'EEG.role', or
> etc.). See the EEGLAB tutorial for functions to enter you 'trigger' data
> into the Events structure. In near future the third-generation HED
> (Hierarchical Event Descriptors) system functions will be ready to
> systematize the process of entering and using more detailed information
> about the nature of events for epoch selection, etc. Read how to do this
> now using EEGLAB epoch selection tools in the EEGLAB tutorial.
>
> Scott Makeig
>
> On Mon, Jun 21, 2021 at 9:40 AM vic roc via eeglablist <
> eeglablist at sccn.ucsd.edu> wrote:
>
> > Dear Members
> >
> > I have taken my EEGs, in which, each response (regardless of it being
> > correct or incorrect) has the same trigger marker.
> >
> > I have an Excel file which denotes the order of correct/incorrect
> responses
> > (which responses are correct or incorrect?) in each session.
> >
> > I want to map these responses onto triggers and tell the EEGLab that for
> > example the 3rd, 7th, and 9th responses are correct and the rest are
> > incorrect.
> >
> > And apparently I have to do it before epoch rejection, because if I do
> > epoch rejection, then the order of responses recorded in the Excel file
> > will not match my triggers anymore.
> >
> > Do you have any ideas about this? Is it possible to mark EEG triggers as
> > correct / incorrect responses? Or was the only way around "to assign
> > different triggers to correct and incorrect responses"?
> >
> > Thanks a lot.
> > _______________________________________________
> > 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
> >
>
>
> --
> Scott Makeig, Research Scientist and Director, Swartz Center for
> Computational Neuroscience, Institute for Neural Computation, University of
> California San Diego, La Jolla CA 92093-0559, http://sccn.ucsd.edu/~scott
> _______________________________________________
> 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
>


-- 
Scott J. Burwell, PhD
He/Him/His
View my profile on: LinkedIn
<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.linkedin.com_in_scottjburwell_&d=DwIBaQ&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=ZdNHsRzxe6wZdaAFxAvyBu8ksQl-AhjWNNd0Glm7LZY&s=W59HDFbjwBc1fFn_8hE-Amnw7lJg0yTboJAqkHaqUa8&e= > | Google
Scholar <https://urldefense.proofpoint.com/v2/url?u=https-3A__scholar.google.com_citations-3Fuser-3DS-2DDUpywAAAAJ-26hl-3Den&d=DwIBaQ&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=ZdNHsRzxe6wZdaAFxAvyBu8ksQl-AhjWNNd0Glm7LZY&s=vpmyKOBCLVLfiYX0fYZsQ21DOmWE0Na0JKiXqzS8mrg&e= > |
GitHub <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_sjburwell&d=DwIBaQ&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=ZdNHsRzxe6wZdaAFxAvyBu8ksQl-AhjWNNd0Glm7LZY&s=auDFZqLUJNSasW-1nHStHwih8MEIyMtA2xL7EgCtWpk&e= > | ResearchGate
<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.researchgate.net_profile_Scott-5FBurwell&d=DwIBaQ&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=ZdNHsRzxe6wZdaAFxAvyBu8ksQl-AhjWNNd0Glm7LZY&s=xnKlfn38U2GZtELbV3isKTViZlwppa-WMs1dAiKK_hc&e= >
Want to schedule some time to chat? Set up a time to meet here
<https://urldefense.proofpoint.com/v2/url?u=https-3A__calendly.com_neurotype-2Dscott_15-2D30min&d=DwIBaQ&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=ZdNHsRzxe6wZdaAFxAvyBu8ksQl-AhjWNNd0Glm7LZY&s=T0CC01dkdTzyt__LWWW9AeKeyUEqmYiBYffvigeolzA&e= >.


More information about the eeglablist mailing list