[FieldTrip] error in reading epoched fif files

Bushra Riaz Syeda bushra.riaz at gu.se
Mon Mar 14 07:30:47 CET 2016


My bad. I should have explained the problem

I am using this code to read epoched fif files created with latest version of mne-python as was explained in fieldtrip tutorial (http://www.fieldtriptoolbox.org/development/integrate_with_mne)

The sample epoched file can be downloaded from this link

https://www.dropbox.com/s/3wy7clqu8o4a6wp/test-epo.fif?dl=0?



cfg = [];

cfg.dataset = Epochfilename;

epoch1= ft_preprocessing(cfg);


and I am getting the following error


Error using fiff_read_epochs (line 46)

Could not find epochs data


Error in fiff_read_epochs (line 46)

    error(me,'Could not find epochs data');


Error in ft_read_header (line 1601)

        epochs = fiff_read_epochs(filename);


Error in ft_preprocessing (line 397)

  hdr = ft_read_header(cfg.headerfile, 'headerformat', cfg.headerformat, 'coordsys', cfg.coordsys,

  'coilaccuracy', cfg.coilaccuracy);


Kind regards

Bushra Riaz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160314/25c42e7e/attachment.html>


More information about the fieldtrip mailing list