FW: Still getting NaNs

Jan Mathijs Schoffelen Jan.Schoffelen at FCDONDERS.RU.NL
Wed Nov 29 22:02:04 CET 2006

Dear Pascal,

This is a known problem and should be fixed. The easiest workaround is to
manually add a cumtapcnt prior to calling freqdescriptives:

freq.cumtapcnt = ones(size(freq.fourierspctrm,1),1);



-----Original Message-----
From: FieldTrip discussion list [mailto:FIELDTRIP at NIC.SURFNET.NL] On Behalf
Of Pascal Fries
Sent: Wednesday, November 29, 2006 9:18 PM
Subject: [FIELDTRIP] FW: Still getting NaNs

I used freqanalysis_mtmconvol with output= fourier and then called
freqdescriptives and got this error message:

> ??? Reference to non-existent field 'cumtapcnt'.
> Error in ==> fourier2crsspctrm at 79
> Nrpt   = length(freq.cumtapcnt);
> Error in ==> freqdescriptives at 290
>   freq   = fourier2crsspctrm(tmpcfg, freq);

Why didn't freqanalysis give freq.cumtapcnt?

Best, Pascal

More information about the fieldtrip mailing list