[Eeglablist] renaming specific occurrence of events

Scott Makeig smakeig at gmail.com
Thu Dec 15 13:37:28 PST 2022


Brian -

Rather than using additional event type codes for all these variants,
EEGLAB allows use of user-defined event *fields* in the EEG.event
structure. you might title the new field 'PresentNumber'  (or whatever). I
am sure getepoch() allows searching on event fields other than type... In
our parallel HED (Hierarchical Event Descriptor) system building effort, we
also use fields in the 2-D ASCII 'events.tsv' event table, in combination
with HED string declarations in an accompanying events.json file, to more
completely describe the natures of the events recorded in a neuroimaging
experiment ('What does event type 1008 mean here?!'].   HED can simplify
analysis, and is important for cross-study analysis including machine
learning, applied to data from any variety of sources including shared data
archives such as our NEMAR.org.

Follow links at hedtags.org to learn more about HED, and/or read our latest
paper on HED annotation:

Robbins, K., Truong, D., Appelhoff, S., Delorme, A. and Makeig, S.,
2021. Capturing
the nature of events and event context using Hierarchical Event Descriptors
(HED) <https://urldefense.com/v3/__https://www.sciencedirect.com/science/article/pii/S1053811921010387__;!!Mih3wA!BswaWTU1hKDdtNffxeLcjT-1Twai5LD-TJYj1lq4gtFpx3zoqI_gbWskgWJZuNPBiNKAdsPFJm37zIoHYM9u$ >
. *NeuroImage*, *245*, p.118766.

Scott Makeig



On Thu, Dec 15, 2022 at 3:20 PM Kavanaugh, Brian <brian_kavanaugh at brown.edu>
wrote:

> Hi everyone,
>
> Is there a way to rename an event based on its occurrence (not based on the
> overall occurrence across all events in a file)?
>
> For example, our resting state period stops and starts are defined by 1006,
> within a larger file including tasks.
>
> i'm hoping to rename 1006- first presentation, 1006- second presentation,
> etc so I can extract the resting state periods out of the file.
>
> Any guidance? Thank you everyone!
>
> Brian
>
> Brian Kavanaugh, Psy.D., ABPP
>
> Board Certified in Clinical Neuropsychology, Pediatric Subspecialist
>
> Pediatric Neuropsychologist, E. P. Bradley Hospital
>
> Assistant Professor, 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
>


-- 
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



More information about the eeglablist mailing list