[Eeglablist] window length and stepsize for short-time FFTs

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Wed May 10 08:26:23 PDT 2017


Dear Joshua

Sorry for belated response.

> For the higher frequencies, does the window length change?

If 'cycle', 0 means to use short-term Fourier Transform (STFT), the window
size should be constant across frequency bins by definition.

>  As for the step size, is that determined by the timesout parameter?

I think so. In STFT, step size can be determined as you like.

Makoto


On Mon, Feb 20, 2017 at 4:06 AM, Baker, Joshua <joshua.baker at ntu.ac.uk>
wrote:

> Dear list,
>
>
>
> 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:
>
>
>
> [..]= newtimef(myTrials(1,:,:),EEG.pnts, [-500 1500], EEG.srate, 0,'freqs',[1
> 45],'nfreqs',100,'timesout',300,'padratio',8); %where EEG.srate=256
>
>
>
> 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?
>
>
>
> Many thanks for your time.
>
>
>
> Joshua Baker
>
> Psychology Technician (Behavioural Neuroscience)
>
> Taylor 001
>
> Department of Psychology
>
> Nottingham Trent University
>
>
>
> https://uk.linkedin.com/in/joshua-baker-81562627
>
>
>
> https://myntuac.sharepoint.com/sites/pts/SitePages/Home.aspx
>
>
> 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.
>
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.
> ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu
>



-- 
Makoto Miyakoshi
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20170510/39ea1ffa/attachment.html>


More information about the eeglablist mailing list