[Eeglablist] Problem with event list

Martin Randau cmmrandau at gmail.com
Wed Oct 26 12:06:47 PDT 2022


This is solved by unchecking import edf annotations and forcing continuous. I don’t know if the last option is needed. 

- Martin

> On 25 Oct 2022, at 22.23, Cedric Cannard <ccannard at protonmail.com> wrote:
> 
> Dear Renzo,
> 
> I don't think that's normal. Did you import BDF files with the Biosig toolbox? Could this be coming from your recording parameters in ActiView? 
> Have you tried playing with the import parameters (e.g., change bdf2biosig_events mode, check the last box to try the mexsload alternative)?
> 
> If nothing works, you could do something like this (to adjust if need to extract cell or not):
> for i = 1:length(EEG.event)
>  if contains(EEG.event(i).type, 'condition')
>    EEG.event(i).type = EEG.event(i).type(end-1:end);
>  end
> end
> 
> Cedric
> 
> 
> 
> ------- Original Message -------
>> On Tuesday, October 25th, 2022 at 10:41 AM, Renzo Lanfranco <renzo.lanfranco at gmail.com> wrote:
>> 
>> 
>> Hi all,
>> 
>> Hope someone can help us! When we load our Biosemi datasets in EEGLAB, it
>> transforms all the integer event labels into strings. Some of them are
>> transformed the way they should be (e.g., 58 to '58'), while others are
>> transformed with the word 'condition ' (e.g., 58 to 'condition 58'). In our
>> lab, by trying different datasets, we have concluded that it's an error in
>> how EEGLAB deals with Biosemi files.
>> 
>> The EEG.event structure has 4 fields: type, edftype, latency, and urevent.
>> Here is our question: does anyone have a script that can replace all the
>> events with their correct numbers? For example, a script that checks each
>> event and if it's a '58' leaves it as is, but if it's 'condition 58' it
>> replaces it with '58'?
>> 
>> Thanks so much for your help,
>> Renzo
>> _______________________________________________
>> 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