<div dir="ltr"><font size="3" style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">Hi Ana,</font><div style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:12pt"><br></div><div style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:12pt">
Fieldtrip does not read events in BDF format. Take a look to our wiki:</div><div style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:12pt"><br></div><div style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">
<a href="http://fieldtrip.fcdonders.nl/getting_started/egi">http://fieldtrip.fcdonders.nl/getting_started/egi</a></div><div style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium"><br></div><ul style="font-size:15.555556297302246px;padding:0px;margin:0px 0px 1em 3.5em;line-height:1.5em;list-style-type:square;color:rgb(99,140,156);font-family:Calibri,Geneva,Arial,Verdana,sans-serif;text-align:justify">
<li class="" style="padding:0px;margin:0px"><div class="" style="padding:0px;margin:0px;color:rgb(0,0,0)"><strong style="padding:0px;margin:0px">EDF+</strong> (.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.</div>
</li></ul><div style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">As Arjen suggested, with *.RAW you shouldn't have any problem. </div><div style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">
<br></div><div style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">event = ft_read_event('*.RAW')</div><div style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">
<br></div><div style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">If you encounter it, please let us know.</div><div style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">
<br></div><div style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">best,</div><div style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium"><br></div><div style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">
Diego</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 26 May 2014 08:59, Arjen Stolk <span dir="ltr"><<a href="mailto:a.stolk8@gmail.com" target="_blank">a.stolk8@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi Ana Laura,<br><br></div>Have you tried importing the .RAW file directly? That is, by specifying cfg.dataset = 'XXX.raw'?<br>
<br></div><div>Best regards,<br></div><div>Arjen<br></div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-26 2:30 GMT+02:00 Ana Laura Diez Martini <span dir="ltr"><<a href="mailto:diezmartini@gmail.com" target="_blank">diezmartini@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi all!<br><br><a href="https://www.dropbox.com/s/xu5a9jwefpxnx2v/RAWconTriggers.bdf" target="_blank">This is the .BDF file </a>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:<br>
<br>cfg = [];<br>cfg.dataset = ' (location)';<br>cfg.trialdef.eventtype = '?';<br>definetrial(cfg);<br>Warning: no trialfun was specified, using trialfun_general<br>> In definetrial at 79<br>evaluating trialfunction 'trialfun_general'<br>
no events were found in the datafile<br>no trials have been defined yet, see DEFINETRIAL for further help<br>found 0 events<br>created 0 trials<div><br></div><div>EEGlab does read them. Any idea of what could be wrong?</div>
<div><br></div><div>Thank you all!!</div><div><br></div></div>
<br></div></div>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div><br></div>