[Eeglablist] Event Fields
Darren Weber
darren.weber.lists at gmail.com
Mon Feb 25 17:59:08 PST 2008
I am currently trying to work with the EEG.event data structure. I've found
useful information about it here:
http://www.sccn.ucsd.edu/eeglab/structtut/datastruct.html
However, there is a bit of ambiguity in the descriptions of the
EEG.eventstructure. I'm not yet confident that I understand it
properly, so take
this with a large grain of salt.
If EEG.event(x).latency is a sample data point, then
EEG.data(:, EEG.event(x).latency, :)
should provide the EEG data at the instant in time when the event occurs (if
EEG.data is a 2D matrix, leave off the last colon). If you know the channel
that you need, then the value might be given by:
epoch = 1;
eventChan = 10; % or whatever you need
eventVal = EEG.data(eventChan, EEG.event(x).latency, epoch)
Regards, Darren
On Fri, Feb 1, 2008 at 8:46 AM, Lauren Steinheimer <lsteinhe at princeton.edu>
wrote:
>
>
>
>
> Hi,
>
>
>
> When extracting event information from a data channel, I need to know the
> voltage values of the events in order to label them correctly. To do this
I
> have been comparing the latency field of the EEGLAB events to the latency
> field in an event file made in EMSE that already has the correct event
> names, and then renaming the events based on type. I think there must be
an
> easier way- how can I find the values of my event channel in EEGLAB? Also,
> what do the numbers in the event "type" field represent?
>
>
>
> Thanks!
>
>
>
> -Lauren
>
>
>
>
>
> Lauren Steinheimer
>
> Center for the Study of Brain, Mind and Behavior
>
> Princeton University
>
> 0-N-17, 3-C-25A Green Hall
>
> 609-258-9290
>
>
> _______________________________________________
> eeglablist mailing list eeglablist 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20080225/113175b1/attachment.html>
More information about the eeglablist
mailing list