[FieldTrip] NaN problems

Schoffelen, J.M. (Jan Mathijs) janmathijs.schoffelen at donders.ru.nl
Mon Dec 12 08:20:10 CET 2022


Ivo,

You will get NaNs-only if your specified t_ftimwindow (or equivalent option for wavelet type of methods) is LONGER than the epoch length, not shorter.

Best wishes,
Jan-Mathijs


> On 9 Dec 2022, at 22:34, Ivaylo Iotchev via fieldtrip <fieldtrip at science.ru.nl> wrote:
> 
> Dear community,
> 
> Does anyone have a list of stupid beginner mistakes that can give you an empty (NaN) output for any version of ft_freqanalysis that is not mtmfft? For some reason, only mtmfft currently provides values for my data. I also can exclude one beginner mistake which is accidentally choosing a shifting time-window shorter than your total segment.
> 
> Bests, and thank you in advance!
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!_XLrDHIrcwfSKyTvwQmohuA7U24kWorXq_zvTwrVEIB464valNrCBCWYKLNoY9G0PI2NZ3LS7WRKUEoJ6nCC-rkldkr4fkungJHnlA$ 




More information about the fieldtrip mailing list