[FieldTrip] [SPAM] Problems with ft_freqanalysis

Federica Mauro federica.ma at gmail.com
Thu Apr 16 16:44:18 CEST 2015


Thanks, you've been really helpful.

Thanks also for the tip on the taper cfg, Looking forward to the seminar!

Federica



2015-04-16 11:50 GMT+02:00 Frédéric Roux <f.roux at bcbl.eu>:

> Hi Fredrica,
>
> this is most likely do to a path problem.
>
> Try adding this at the beginning of your script/function:
>
> restorde_defaultpath;
> addpath('/path2fieldtrip/fieldtrip-2015xxxx/');
> ft_defaults;
>
> HTH
>
> --
> Frédéric Roux
> Postdoctoral Scientist
> BCBL. Basque Center on Cognition, Brain % Language.
>
> f.roux at bcbl.eu
> Tel: +34 943 309 300 Ext 211
> Fax: +34 943 309 052
>
> Legal disclaimer/Aviso legal/Lege-oharra: www.bcbl.eu/legal-disclaimer
> ---------------------------------------------------------------------------
>
>
> ----- Original Message -----
> From: "Federica Mauro" <federica.ma at gmail.com>
> To: "donders fieldtrip" <fieldtrip at donders.ru.nl>
> Sent: Thursday, April 16, 2015 11:41:17 AM
> Subject: [SPAM] [FieldTrip] Problems with ft_freqanalysis
>
>
>
>
>
>
>
>
>
> 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
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20150416/82e476fb/attachment-0002.html>


More information about the fieldtrip mailing list