<div dir="ltr">Dear Joshua<div><br></div><div>Sorry for belated response.<br><div><br></div><div><div><span style="color:rgb(0,0,0)">> For the higher frequencies, does the window length change?</span></div><div><span style="color:rgb(0,0,0)"><br></span></div><div><span style="color:rgb(0,0,0)">If 'cycle', 0 means to use short-term Fourier Transform (STFT), the window size should be constant across frequency bins by definition.</span></div><div><span style="color:rgb(0,0,0)"><br></span></div><div><span style="color:rgb(0,0,0)">>  As for the step size, is that determined by the timesout parameter?</span><br></div><div><span style="color:rgb(0,0,0)"><br></span></div><div><font color="#000000">I think so. In STFT, step size can be determined as you like.</font></div><div><font color="#000000"><br></font></div><div><font color="#000000">Makoto</font></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 20, 2017 at 4:06 AM, Baker, Joshua <span dir="ltr"><<a href="mailto:joshua.baker@ntu.ac.uk" target="_blank">joshua.baker@ntu.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-GB">
<div class="gmail-m_-7037717267270472528WordSection1">
<p class="MsoNormal">Dear list, <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">When using the newtimef function and defining cycles as ‘0’, it is my understanding that a constant window (zero-padded) is used over all frequencies. I see that there is an optional parameter for defining window
 size, but when you do not specify this, how does EEGlab calculate the window size and also the step size? E.g. if I were to define:<span style="font-size:12pt;font-family:"courier new""><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"courier new";color:black">[..]= newtimef(myTrials(1,:,:),EEG.<wbr>pnts, [-500 1500], EEG.srate, 0,</span><span style="font-size:10pt;font-family:"courier new";color:rgb(160,32,240)">'freqs'</span><span style="font-size:10pt;font-family:"courier new";color:black">,[1
 45],</span><span style="font-size:10pt;font-family:"courier new";color:rgb(160,32,240)">'nfreqs'</span><span style="font-size:10pt;font-family:"courier new";color:black">,100,</span><span style="font-size:10pt;font-family:"courier new";color:rgb(160,32,240)">'timesout'</span><span style="font-size:10pt;font-family:"courier new";color:black">,<wbr>300,</span><span style="font-size:10pt;font-family:"courier new";color:rgb(160,32,240)">'padratio'</span><span style="font-size:10pt;font-family:"courier new";color:black">,8);
 %where EEG.srate=256<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"courier new";color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:black">Given I require activity at 1Hz, then I would necessarily require a window length of at least 1000ms. For the higher frequencies, does the window length change? As for the step size,
 is that determined by the timesout parameter?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:black">Many thanks for your time.
</span><span style="font-size:12pt;font-family:"courier new""><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span>Joshua Baker<u></u><u></u></span></p>
<p class="MsoNormal"><span>Psychology Technician (Behavioural Neuroscience)<u></u><u></u></span></p>
<p class="MsoNormal"><span>Taylor 001<u></u><u></u></span></p>
<p class="MsoNormal"><span>Department of Psychology<u></u><u></u></span></p>
<p class="MsoNormal"><span>Nottingham Trent University<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span><a href="https://uk.linkedin.com/in/joshua-baker-81562627" target="_blank">https://uk.linkedin.com/in/<wbr>joshua-baker-81562627</a>
<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span><a href="https://myntuac.sharepoint.com/sites/pts/SitePages/Home.aspx" target="_blank">https://myntuac.sharepoint.<wbr>com/sites/pts/SitePages/Home.<wbr>aspx</a>
<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
DISCLAIMER: This email is intended solely for the addressee. It may contain private and confidential information. If you are not the intended addressee, please take no action based on it nor show a copy to anyone. In this case, please reply to this email to
 highlight the error. Opinions and information in this email that do not relate to the official business of Nottingham Trent University shall be understood as neither given nor endorsed by the University. Nottingham Trent University has taken steps to ensure
 that this email and any attachments are virus-free, but we do advise that the recipient should check that the email and its attachments are actually virus free. This is in keeping with good computing practice.
</div>

<br>______________________________<wbr>_________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank">http://sccn.ucsd.edu/eeglab/<wbr>eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.<wbr>ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.<wbr>edu</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div></div>
</div></div></div>