[FieldTrip] simple question on frequency space representation

Ivaylo Iotchev ivaylo.iotchev at gmail.com
Mon Oct 24 16:58:54 CEST 2022


Thank you/blagodarya!

Am Mo., 24. Okt. 2022 um 16:56 Uhr schrieb Tzvetan Popov via fieldtrip <
fieldtrip at science.ru.nl>:

> Dear Ivo,
> cfg.pad=9; will add 9 sec of zero padding to your 1 sec signal that will
> result in your intended resolution.
>
> Good luck,
> Tzvetan
>
> > Am 10/24/22 um 16:36 schrieb Ivaylo Iotchev via fieldtrip <
> fieldtrip at science.ru.nl>:
> >
> > 
> > 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
> > _______________________________________________
> > fieldtrip mailing list
> > https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> > https://doi.org/10.1371/journal.pcbi.1002202
>
> _______________________________________________
> 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/20221024/4d94d8b1/attachment.htm>


More information about the fieldtrip mailing list