[Eeglablist] editing event values

paolo federico paolofed at univaq.it
Tue Aug 28 03:22:50 PDT 2012


Hi everybody,

I had the same problem of Inga and following the instruction of Makoto the
problem disappeared.
Thank you very very much!

Paolo

2012/8/27 Clemens Brunner <clemens.brunner at tugraz.at>

> Hi Inga,
>
> events are stored in the struct array EEG.event. If you want to change the
> type of an existing event, you can assign a new value to the 'type' field.
> For example, you can change the type of the first event to the string '20'
> as follows:
>
> EEG.event(1).type = '20';
>
> Therefore, if you loop over all events and update the type field, you
> should be able to solve your problem.
>
> Also, you can get an overview of all events by typing the following
> command:
>
> events = eeg_eventtable(EEG);
>
> HTH
> Clemens
>
>
>
>
> On Aug 23, 2012, at 10:02 AM, Inga GB <i.griskova at gmail.com> wrote:
>
> > 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
>
>
> _______________________________________________
> 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
>



-- 
Paolo Federico, PhD Candidate in Biotechnology
Department of Experimental Medicine, University of L'Aquila
Via Vetoio, Coppito II, 67100 L'Aquila, Italy
email: paolofed at univaq.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20120828/27384316/attachment.html>


More information about the eeglablist mailing list