<br>I am currently trying to work with the EEG.event data structure.  I've found useful information about it here:<br><br><a href="http://www.sccn.ucsd.edu/eeglab/structtut/datastruct.html">http://www.sccn.ucsd.edu/eeglab/structtut/datastruct.html</a><br>
<br>However, there is a bit of ambiguity in the descriptions of the EEG.event structure.  I'm not yet confident that I understand it properly, so take this with a large grain of salt.<br><br>If <span style="font-family: courier new,monospace;">EEG.event(x).latency</span> is a sample data point, then <br>
<br><span style="font-family: courier new,monospace;">EEG.data(:, EEG.event(x).latency, :)<br><br></span>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:<br>
<br><span style="font-family: courier new,monospace;">epoch = 1;<br>eventChan = 10; % or whatever you need<br>eventVal = EEG.data(eventChan, EEG.event(x).latency, epoch)<br>
</span><br><br>Regards, Darren<br><br><br>On Fri, Feb 1, 2008 at 8:46 AM, Lauren Steinheimer <<a href="mailto:lsteinhe@princeton.edu">lsteinhe@princeton.edu</a>> wrote:<br>>  <br>>  <br>>  <br>> <br>> Hi, <br>
> <br>>   <br>> <br>> When extracting event information from a data channel, I need to know the<br>> voltage values of the events in order to label them correctly. To do this I<br>> have been comparing the latency field of the EEGLAB events to the latency<br>
> field in an event file made in EMSE that already has the correct event<br>> names, and then renaming the events based on type.  I think there must be an<br>> easier way- how can I find the values of my event channel in EEGLAB? Also,<br>
> what do the numbers in the event "type" field represent? <br>> <br>>   <br>> <br>> Thanks! <br>> <br>>   <br>> <br>> -Lauren <br>> <br>>   <br>> <br>>   <br>> <br>> Lauren Steinheimer <br>
> <br>> Center for the Study of Brain, Mind and Behavior <br>> <br>> Princeton University <br>> <br>> 0-N-17, 3-C-25A Green Hall <br>> <br>> 609-258-9290 <br>> <br>>   <br>> _______________________________________________<br>
>  eeglablist mailing list <a href="mailto:eeglablist@sccn.ucsd.edu">eeglablist@sccn.ucsd.edu</a><br>>  Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
>  To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>> <br><br>