[FieldTrip] Reading events from an EDF file

Emilio Valadez evaladez at psych.udel.edu
Wed Feb 6 23:38:06 CET 2013


Dear FieldTrip users,

I am trying to define trials from a continuous EEG data set that was exported from BESA to .edf format, but I'm having trouble reading the events with FieldTrip. The events are located in a separate channel that was appended to the EEG data.

After running ft_definetrial with cfg.trialdef.eventtype set to '?' (in order to see the event types and event values in the data), I received the following output:

the following events were found in the datafile
event type: 'trial' with event values:
no trials have been defined yet, see FT_DEFINETRIAL for further help
found 720 events
created 0 trials
the call to "ft_definetrial" took 1 seconds

It seems that ft_definetrial is not reading any events except for trials, which should not be present in the data. As a comparison, I opened the data set with eeglab, which did read the events properly, leading me to believe that the event information is in fact part of the file. How can I get ft_definetrial to correctly read the events?

Thanks in advance for your help.

Emilio

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20130206/251497f4/attachment-0001.html>


More information about the fieldtrip mailing list