[FieldTrip] Problems with ft_freqanalysis

Federica Mauro federica.ma at gmail.com
Thu Apr 16 11:41:17 CEST 2015


Hi everybody,

I'm trying to compute coherence analyses following the coherence tutorial at http://www.fieldtriptoolbox.org/tutorial/coherence.
Since a couple of days, I have this error message in computing ft_freqanalysis:

Error using load
Unable to read file precompute_dpss: No such file or directory.

Error in dpss (line 9)
  load precompute_dpss

Error in ft_specest_mtmfft>double_dpss (line 335)
tap = dpss(double(a), double(b), varargin{:});

Error in ft_specest_mtmfft (line 151)
        tap =
        double_dpss(ndatsample,ndatsample*(tapsmofrq./fsample))';

Error in ft_freqanalysis (line 494)
      [spectrum,ntaper,foi] = ft_specest_mtmfft(dat, time, 'taper',
      cfg.taper, options{:}, 'feedback', fbopt);

Is that a bug?


Here is the code I'm using:
cfg            = [];
cfg.output     = 'powandcsd';
cfg.method     = 'mtmfft';
cfg.foilim     = [5 40];
cfg.tapsmofrq  = 5;
cfg.keeptrials = 'yes';

freq           = ft_freqanalysis(cfg, eeg);


Thank you in advance,
Federica
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20150416/5591f8b4/attachment.html>


More information about the fieldtrip mailing list