[Eeglablist] ant and eeglab

Bernhardsson Jens Jens.Bernhardsson at miun.se
Wed Nov 28 06:35:27 PST 2012


Hi

Importing *.cnt file some events are coded as numbers and some as string, this is a known error and have 
been solved by converting the triggers to either string or number https://sccn.ucsd.edu/bugzilla/show_bug.cgi?id=1161


With the new importer I had to convert from string to number and back to string again in order for eeglab to read 
the triggers correctly.
And in this specific order.

for i=1:size(EEG.event,2);
    EEG.event(i).type=str2double(EEG.event(i).type);
    EEG.event(i).type=num2str(EEG.event(i).type);
    EEG.event(i).urevent=i;
    end;


What kind of a problem can occur, if any, with handling the trigger data like this?
Is there a smoother way to do this?

Also, Arno do you have any clue of the magnitude of event latency problem with the older importer?

Best
Jens 




-----Ursprungligt meddelande-----
Från: eeglablist-bounces at sccn.ucsd.edu [mailto:eeglablist-bounces at sccn.ucsd.edu] För Arnaud Delorme
Skickat: den 27 november 2012 19:07
Till: anahita khorrami
Kopia: eeglablist at sccn.ucsd.edu
Ämne: Re: [Eeglablist] ant and eeglab

Dear Anahita,

I have noticed a problem with the event latencies of the ANT import plugin.
The event latency were wrong in some case. 
Replace the following function in eeglab/plugins/anteepimport1.08

https://sccn.ucsd.edu/svn/software/eeglab/plugins/anteepimport1.09/pop_loadeep.m

Note that this plugin was originally developed by ANT not by us.
Thanks,

Arno

On 19 Nov 2012, at 03:10, anahita khorrami wrote:

>  Hi
>     I hope some one help me. I analyze the ANT file and open the data with
>     eeprobe. ar this time I use EEGlab Plogin. inspite of showing the events
>     numbers but when I want to select the event there is noting on the
>     browse. in addition with event field I added the triger file of ANT which
>     is a note pad. would you please what can I do with this problem?
>     best regards
> anahita khorrami _______________________________________________
> 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




More information about the eeglablist mailing list