[FieldTrip] Help importing and reading data

Whillier, Alexander alexander.whillier at med.uni-goettingen.de
Mon Oct 10 19:39:03 CEST 2016


Dear Fieldtrip,

I have inherited a dataset of EMG and EEG data that was gathered using two different programs.  One of my colleagues has taught me the basics of fieldtrip and I only a beginner at Matlab at the moment.  I am trying to analyse both data sets using fieldtrip.

The first dataset (which works) is .cnt data gathered using EEG Probe.
The second dataset (which fieldtrip currently fails to recognise) is .cfs data gathered using Signal.  I am able to export the data as .mat files, to read them in Matlab using Fieldtrip.  However, in spite of my best efforts to create a header file and header format that the preprocessing code will accept, I am unable to proceed.  I get constant errors:

Error using ft_read_header (line 2158)
unsupported header format (matlab)

Error in ft_preprocessing (line 394)
  hdr = ft_read_header(cfg.headerfile, 'headerformat',
  cfg.headerformat, 'coordsys', cfg.coordsys,
  'coilaccuracy', cfg.coilaccuracy);

Even though my cfg.hdr section has all of these values, I cannot find a way to get it to run the preprocessing code.

Can you help?

Kind regards,

Alexander Whillier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20161010/903c3a06/attachment.html>


More information about the fieldtrip mailing list