<div dir="ltr">Although, dear Jan (anyone), if I can follow up with a secondary question to your helpful answer. <div><br></div><div>Reading the link you offered me I realized it is written with an approach in mind, which I don't use. I saw on some examples of Fieldtrip scripts on the official Fieldtrip pages, that you often define the cfg.foi relative to an unpadded segment, e.g. 0.5 second long time-window is analyzed in steps of 2 Hz and starting with 2 Hz. Would your text still explain my problem if I use zero-padding to increase my resolution? More crucially, the position of the main frequency being 1/segment length behaves as if my padding plays no role, i.e. the segment length which determines the peak frequency is the unpadded length.<br><br>Finally, only if you have an idea, is the slepian sequence a legit way to minimize 1/f noise? It seems to flatten the peak, but it also spreads out the energy, and I wonder if that spread is itself noise or real signal that was otherwise not visible.<br><br>Thank you and sorry if I over-engage you on this one.<br><br>Bests,</div><div><br>Ivo</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Do., 8. Dez. 2022 um 10:04 Uhr schrieb Ivaylo Iotchev <<a href="mailto:ivaylo.iotchev@gmail.com">ivaylo.iotchev@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dankje wel!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Do., 8. Dez. 2022 um 10:00 Uhr schrieb Schoffelen, J.M. (Jan Mathijs) via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
Hi Ivo,
<div><br>
</div>
<div>See: <a href="https://www.fieldtriptoolbox.org/faq/why_largest_peak_spectrum/" target="_blank">https://www.fieldtriptoolbox.org/faq/why_largest_peak_spectrum/</a>, and <a href="https://www.fieldtriptoolbox.org/faq/why_does_my_tfr_look_strange/" target="_blank">https://www.fieldtriptoolbox.org/faq/why_does_my_tfr_look_strange/</a></div>
<div><br>
</div>
<div>Best wishes,</div>
<div>Jan-Mathijs</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
<div><br>
<blockquote type="cite">
<div>On 7 Dec 2022, at 14:40, Ivaylo Iotchev via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a>> wrote:</div>
<br>
<div>
<div dir="ltr">Dear community,<br>
<br>
I want to rephrase one of my questions without first emphasizing my own theory of what is going on this time... what could cause the largest peak in the data to invariantly be at the frequency which is 1/segment length? That is, the peak is at 2 Hz when the
 segments are 0.5 seconds long... at 1 Hz when the segment is 1 second long etc. ...<br>
<br>
I previously hypothesized that something might be preventing Fieldtrip from reading the sampling rate out of our data, but feel free to think outside the box I offer you, much appreciated, thanks in advance!<br>
<br>
Bests,<br>
<br>
Dr. Ivaylo (Ivo) Iotchev</div>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<a href="https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!9LhzA8TB3KE7n_eWe9D5PTqi5pVPMGBPv--HGNKtZG-6MCON-5NxvsMQXKI22KxcwEEcVPyAFMDyqUuYK1eg5x5RlsfCYk6CSCAeLQ$" target="_blank">https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!9LhzA8TB3KE7n_eWe9D5PTqi5pVPMGBPv--HGNKtZG-6MCON-5NxvsMQXKI22KxcwEEcVPyAFMDyqUuYK1eg5x5RlsfCYk6CSCAeLQ$</a>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</div>

_______________________________________________<br>
fieldtrip mailing list<br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<a href="https://doi.org/10.1371/journal.pcbi.1002202" rel="noreferrer" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
</blockquote></div>
</blockquote></div>