[Eeglablist] different event values GUI vs. command line

Arnaud Delorme arno at ucsd.edu
Thu Apr 12 20:16:29 PDT 2012


Dear Christian,

the event latency is stored in sample points since the beginning of 
the data in the EEG data structure.

To convert between latency in samples and latency in seconds and 
vice versa, use the functions eeg_lat2point.m and eeg_point2lat.m

Best regards,

Arno

On Apr 12, 2012, at 8:34 AM, Christian Scharinger wrote:

> Dear eeglab users,
> 
> I'm a little bit confused because of the following:
> in the eeglab GUI "edit event values" it says (for example) for event 
> num 33
> 
> Latency (ms) 632.81
> Duration (ms) 2718.7
> 
> However in the EEG-structure called by command line it is stored:
> 
> EEG.event(33).latency = 17667
> EEG.event(33).duration = 696
> 
> for exactly the same event.
> 
> The latency shown in the GUI is quite plausible for my experiment.
> Now I would like to know how can I access the latency value shown in the 
> GUI by command line? And why is there a difference between the values in 
> the EEG structure and those shown in the GUI?
> 
> Thanks for your help!
> 
> Best,
> Christian
> _______________________________________________
> 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