[FieldTrip] NaN problems

Ivaylo Iotchev ivaylo.iotchev at gmail.com
Mon Dec 12 16:11:40 CET 2022


But, I don't get it, it doesn't improve

My total epoch is now 10 seconds,

the cfg.t_ftimwin is cfg.t_ftimwin = ones(length(cfg.foi),1)*2;

I did not want to go smaller with the time-window of the frequencies here,
to not fall below the 0.5 Hz resolution, but I cannot expand the total
epoch beyond 10 seconds, because I will lose too many animals in the
cleaning

Bests,

Ivo

Am Mo., 12. Dez. 2022 um 08:41 Uhr schrieb Ivaylo Iotchev <
ivaylo.iotchev at gmail.com>:

> Dankje wel!
>
> Schoffelen, J.M. (Jan Mathijs) via fieldtrip <fieldtrip at science.ru.nl>
> schrieb am Mo., 12. Dez. 2022, 8:33 vorm.:
>
>> 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$
>>
>>
>> _______________________________________________
>> fieldtrip mailing list
>> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>> https://doi.org/10.1371/journal.pcbi.1002202
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20221212/00dcd7ec/attachment.htm>


More information about the fieldtrip mailing list