Fourier Transform vs Short Time Fourier Transform...

  • Thread starter Thread starter fog37
  • Start date Start date
  • Tags Tags
    Fourier transform
AI Thread Summary
The discussion highlights the differences between the Fourier Transform (FT) and Short Time Fourier Transform (STFT), emphasizing that STFT offers time-frequency localization, making it suitable for non-stationary signals. However, STFT has limitations, such as reduced frequency resolution, ignored phase information, and diminished signal-to-noise ratio due to edge effects. The FT provides a global view of spectral components, which is exact for stationary signals but lacks time localization. Trade-offs between the two methods depend on the specific analytical needs, with STFT being a compromise for dynamic displays. Ultimately, the choice between FT and STFT is context-specific and requires careful consideration of their respective advantages and disadvantages.
fog37
Messages
1,566
Reaction score
108
TL;DR Summary
Fourier Transform vs Short Time Fourier Transform: why no always use the STFT?
Hello,

I understand how the FT and the STFT work. The STFT provides time-frequency localization, i.e. it can tell us when the spectral components are acting in the time-domain signal...The STFT is also useful for non-stationary signals which are signals whose statistical characteristics are changing in time...

That said, why don't we always use the STFT given its extra benefits?

I guess that if a deterministic signal is stationary, it means that it looks "the same" over different intervals and the STFT will output identical results for each different window...

Thanks!
 
Engineering news on Phys.org
To put it simply edge effects at the limit of each section of time makes the output inaccurate there. I think that is called the uncertainty principle.
 
osilmag said:
To put it simply edge effects at the limit of each section of time makes the output inaccurate there. I think that is called the uncertainty principle.
Yes, the bigger is the window the lesser the edge effects. But regardless of these effects, the STFT at least gives time localization while in the case of the FT the spectral components are global and spread across the entire duration of the signal in the time domain....
 
Ya pays your money and you makes your choices. If you want an exact answer you need to use a complete set of functions. The full space FT is, in principle, exact.
 
It only takes a few hundred pixels to display a dynamic spectrogram. Frequency resolution is the reciprocal of the data block acquisition time. STFT is a compromise that provides both a time and a frequency distribution, in one dynamic display, with only the pixel resolution and computation required.

Maybe only 90% of the FFT processing time is needed for the STFT, but:
Frequency resolution is reduced in the STFT.
Phase information is ignored by the STFT.
Signal-to-noise ratio is greatly reduced in the STFT.

The STFT can be extended in time by power spectrum accumulation, PSA, to recover a broad signal channel, with discontinuous phase, from the noise.
 
  • Informative
  • Like
Likes DeBangis21 and hutchphd
There are numerous trade-offs for one over the other. Edge effects are obviously one that was already cited, but also frequency resolution. By limiting the size of your window, you are sacrificing frequency resolution, which can be important at the lower end of your spectrum.

Another thing to consider is that, when calculating something like a power spectrum, it's not typical to use FFT on the whole signal anyway. Instead you segment it (much like the STFT) and apply a window function to reduce edge effects, then average all of the windowed segments together to reduce the variance of the estimate (Welch's method). You can't do that with a STFT.

In short, it's context-specific. You have to consider the trade-offs of each method against the needs of the analyst.
 
  • Informative
  • Like
Likes DeBangis21 and berkeman
Thread 'Where is my curb stop?'
My water meter is submerged under water for about 95% of the year. Today I took a photograph of the inside of my water meter box because today is one of the rare days that my water meter is not submerged in water. Here is the photograph that I took of my water meter with the cover on: Here is a photograph I took of my water meter with the cover off: I edited the photograph to draw a red circle around a knob on my water meter. Is that knob that I drew a red circle around my meter...
Thread 'How can I find the cleanout for my building drain?'
I am a long distance truck driver, but I recently completed a plumbing program with Stratford Career Institute. In the chapter of my textbook Repairing DWV Systems, the author says that if there is a clog in the building drain, one can clear out the clog by using a snake augur or maybe some other type of tool into the cleanout for the building drain. The author said that the cleanout for the building drain is usually near the stack. I live in a duplex townhouse. Just out of curiosity, I...
Back
Top