[Eeglablist] editing event values

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Fri Aug 24 14:38:21 PDT 2012


Dear Inga,

If you are familiar with Matlab coding (or it is a good chance to
learn it), first prepare a list like this

list = [20 20 40 20 20 ....];

which contains your event information. Then run this

for n = 1:length(EEG.event)
      EEG.event(1,n).type = list(1,n);
end

If you don't know what it does and you need more explanation, let us know.

Makoto

2012/8/23 Inga GB <i.griskova at gmail.com>:
> Dear all,
> I need an advice on EEG event codes to be changed in eeglab.
> Lets say, I have and EEG file as. edf, I have 120 events there, but
> they are all marked as 1000. however, I know there are two types of
> events-lets say coded as 20 and 40, and I know their timing-i.e. at
> which time each event happend, or order (first event was 20, second
> was 20, third was 40...). I need to implement this information into
> the data through eeglab-i know the manual option through edit event
> values. Is there any other faster way?
>
> Thanks for you time!
>
> Kind regards,
>
> Inga
> _______________________________________________
> 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



-- 
Makoto Miyakoshi
JSPS Postdoctral Fellow for Research Abroad
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego



More information about the eeglablist mailing list