[FieldTrip] Cannot read the events of a .BDF file exported from an EGI .RAW
Diego Lozano Soldevilla
d.lozanosoldevilla at fcdonders.ru.nl
Mon May 26 10:58:01 CEST 2014
Hi Ana,
Fieldtrip does not read events in BDF format. Take a look to our wiki:
http://fieldtrip.fcdonders.nl/getting_started/egi
- *EDF+* (.edf) All channels, including PIB channels, are read in
correctly, including channel labels. However, the events, which are stored
on the annotation channel, are written in a way by Net Station that is not
compatible with the edf+ reading implementation in FieldTrip. So, events do
not come out properly. Also discontinuous epochs are “glued” together as
one “continuous” data stream.
As Arjen suggested, with *.RAW you shouldn't have any problem.
event = ft_read_event('*.RAW')
If you encounter it, please let us know.
best,
Diego
On 26 May 2014 08:59, Arjen Stolk <a.stolk8 at gmail.com> wrote:
> Hi Ana Laura,
>
> Have you tried importing the .RAW file directly? That is, by specifying
> cfg.dataset = 'XXX.raw'?
>
> Best regards,
> Arjen
>
>
> 2014-05-26 2:30 GMT+02:00 Ana Laura Diez Martini <diezmartini at gmail.com>:
>
>> Hi all!
>>
>> This is the .BDF file
>> <https://www.dropbox.com/s/xu5a9jwefpxnx2v/RAWconTriggers.bdf>of one of
>> my EEG subjects. For my last experiment I used a Biosemi system and now I'm
>> using an EGI system which gives me .RAW files. I exported the .RAW file
>> with EEGlab to .BDF format and I tried using the scripts I use to analise
>> the data of my previous experiment but I realised that it was not reading
>> the events:
>>
>> cfg = [];
>> cfg.dataset = ' (location)';
>> cfg.trialdef.eventtype = '?';
>> definetrial(cfg);
>> Warning: no trialfun was specified, using trialfun_general
>> > In definetrial at 79
>> evaluating trialfunction 'trialfun_general'
>> no events were found in the datafile
>> no trials have been defined yet, see DEFINETRIAL for further help
>> found 0 events
>> created 0 trials
>>
>> EEGlab does read them. Any idea of what could be wrong?
>>
>> Thank you all!!
>>
>>
>> _______________________________________________
>> fieldtrip mailing list
>> fieldtrip at donders.ru.nl
>> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>>
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20140526/564a634a/attachment-0002.html>
More information about the fieldtrip
mailing list