[FieldTrip] tfa produces zeros
Marcus Heldmann
marcus.heldmann at neuro.uni-luebeck.de
Wed Nov 19 10:40:08 CET 2014
I used this code
cfg = [];
cfg.channel = '1_Fz';
cfg.method = 'wavelet';
cfg.width = 7;
cfg.output = 'pow';
cfg.foi = 1:2:30;
cfg.toi = -0.5:0.05:1.5;
TFRwave = ft_freqanalysis(cfg, data_clean);
Thanks, Marcus
---------------------------------------------
Dr. Marcus Heldmann
Klinik für Neurologie
UKSH, Campus Lübeck
Paul-Ehrlich-Strasse 1-3, MGZ
23562 Lübeck
0451 317 9313 14
Am 19.11.2014 um 10:12 schrieb kousik sarathy <sarathykousik at gmail.com>:
> Dear Marcus,
>
> I tried running the "data_clean" through the same snippet of code (IV). It works fine for me.
>
> Could post the exact code you used?
>
> --
> Regards,
> Kousik Sarathy, S
>
>
> On Wed, Nov 19, 2014 at 9:58 AM, Marcus Heldmann <marcus.heldmann at neuro.uni-luebeck.de> wrote:
> Dear all,
> I have a dataset with surface and local field potential recordings and I’d like to perform a tfa. The data are recorded with a BrainVision Recorder, 1KHz sampling frequency, bp 0.05-200Hz. After epoching (-1 to 2 s), filtering (bsfilter 49:51, lpfilter 70) and baseline correction I tried to perform a tfa using a wavelet analysis described in the tutorial (http://fieldtrip.fcdonders.nl/tutorial/timefrequencyanalysis, Time-frequency analysis IV). However, the powspctrm-field just contains NaNs (which is ok) and zeros (not ok). The data seem to be correct, I am able to plot single trials. The strange thing is, that my EEGLAB analysis provides some meaningful results. You can fined the preprocessed data for one condition under the following link
>
> https://drive.google.com/file/d/0B4-NxS-suG8dOXZnVHcxUDFyYXM/view?usp=sharing
>
> Any idea, why this happen’s?
>
> Greetings, Marcus
>
> ---------------------------------------------
>
> Dr. Marcus Heldmann
> Klinik für Neurologie
> UKSH, Campus Lübeck
> Paul-Ehrlich-Strasse 1-3, MGZ
> 23562 Lübeck
> 0451 317 9313 14
>
>
>
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
> <ATT00001.c>
More information about the fieldtrip
mailing list