[Eeglablist] Changing event markers in dataset

Arnaud Delorme arno at ucsd.edu
Mon Jul 16 12:01:05 PDT 2018


Dear Edwige,

Yes, you can use menu item “Export > Event to text file” modify them then use menu item “Import events info > From Matlab array or ASCII file” and it will show you the alignment of the old and new events. If you do not have too many events you can also modify them manually in the EEGLAB event editor (menu item “Edit > Event value”).

Best wishes,

Arno

> Dear Arno,
> 
> Many thanks for your response!
> 
> Since I am not familiar with Matlab code, the second alternative sounds like something I can do. 
> 
> So if I import them again, the event markers will be placed in the same position at the same exact time as they were right? 
> 
> Thanks again, ucsd has been a great help for me in this whole thing!
> 
> Best,
> Edwige
> 
>> Op 16 jul. 2018, om 20:36 heeft Arnaud Delorme <arno at ucsd.edu> het volgende geschreven:
>> 
>> Dear Edwige,
>> 
>> You will need to write a script to do that. Basically, you can differentiate (I think) the prime from the target event based on the order of presentation. In addition to Makoto’s link, see also https://sccn.ucsd.edu/wiki/Chapter_03:_Event_Processing#Scripts_for_creating_new_events_based_on_context
>> 
>> Alternatively, if you do not know Matlab, export your events under Excel, modify them and import them again.
>> 
>> Best wishes,
>> 
>> Arno
>> 
>>> On Jul 13, 2018, at 9:50 AM, E. Sijyeniyo <e.sijyeniyo at student.rug.nl> wrote:
>>> 
>>> Dear EEGlab users,
>>> 
>>> I have a question regarding changing event markers in my dataset. 
>>> 
>>> Initially, I recorded my data with the following markers:
>>> 
>>> Active condition:
>>> Prime sentence: 40, 9, 13, 17, 21, 25, 29 
>>> Target sentence: 45, 9, 13, 17, 21, 25, 29 
>>> 
>>> 
>>> Passive condition
>>> Prime sentence: 40, 8, 12, 16, 20, 24, 30 
>>> Target sentence: 45, 8, 12, 16, 20, 24, 30
>>> 
>>> 
>>> However, only the first trigger distinguishes both sentences, so only 40 and 45. I am wondering whether I can change the other triggers so that they are distinguishable too. In this way, I can compare, for example, the target words in one particular condition with each other because they would have different event markers. For instance, in the active condition, the target word is marked with 17 in the prime sentence as well as in the target sentence, I am not sure if Matlab would be able to distinguish them (I assume not).
>>> 
>>> So I would want to change them into something like:
>>> 
>>> Active condition:
>>> Prime sentence: 40, 9, 13, 17, 21, 25, 29 
>>> Target sentence: 45, 23, 33, 43, 53, 63, 73
>>> 
>>> Passive condition:
>>> Prime sentence: 55, 8, 12, 16, 20, 24, 30
>>> Target sentence: 60, 26, 36, 46, 56, 66, 76
>>> 
>>> Does anyone know how I can change event markers in my dataset? 
>>> 
>>> Thank you so much for anyone who responds!
>>> 
>>> Best
>>> Edwige
>>> P.s As I am a master student, this is my first ever EEG study and during the design of my experiment these differences between triggers coding did not occur to me...
>>> _______________________________________________
>>> 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
>> 
>> _______________________________________________
>> 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