[FieldTrip] simple question on frequency space representation

Ivaylo Iotchev ivaylo.iotchev at gmail.com
Mon Oct 24 16:33:41 CEST 2022


Dear all,

this might be an easy one to answer, but being relatively new to Fieldtrip
I think the fastest way for me to get there is to ask:

How do I control the padding size in Fieldtrip? So far all examples I have
encountered in order to learn the programm only specify that it happens or
not, e.g.

cfg.taper = 'Hanning'

However, my end-result doesn't give me the 0.1 Hz steps I am used to from
specifying zero-padding in spectrogram, where I can have a clean succession
of 0.1 Hz steps, e.g. 1.1 Hz, 1.2 Hz, 1.3 Hz... and so on...

Instead I currently get something like:

0.9 Hz, 1.9 Hz, 2.9 Hz...

The latter resolution increases a little bit by specifying 0.1 Hz steps in
the cfg.foi, but never reaches the fine-grained 0.1 steps of spectrogram. I
know it's my bad, if you have time shine me the light :)

Thanks in advance,

Ivaylo (Ivo) Iotchev, PhD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20221024/724aa671/attachment.htm>


More information about the fieldtrip mailing list