Fourier Transform vs Short Time Fourier Transform...

In summary, the Fourier Transform is a mathematical technique used to analyze the frequency components of a signal over an entire time period, providing a global view of frequency content. However, it lacks time localization, making it difficult to analyze non-stationary signals. The Short Time Fourier Transform (STFT) addresses this limitation by dividing the signal into smaller segments, allowing for time-localized frequency analysis. STFT provides a time-frequency representation, enabling better insight into how frequency components evolve over time, though it introduces challenges related to windowing and resolution trade-offs.
  • #1
fog37
1,569
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
  • #2
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.
 
  • Like
Likes fog37
  • #3
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....
 
  • #4
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.
 
  • Like
Likes osilmag
  • #5
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
  • #6
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

FAQ: Fourier Transform vs Short Time Fourier Transform...

What is the main difference between Fourier Transform and Short Time Fourier Transform?

The main difference is that the Fourier Transform provides the frequency content of the entire signal, assuming it to be stationary, while the Short Time Fourier Transform (STFT) breaks the signal into smaller segments and provides frequency information over time, making it suitable for non-stationary signals.

When should I use Short Time Fourier Transform instead of Fourier Transform?

You should use the Short Time Fourier Transform when dealing with non-stationary signals where the frequency content changes over time. STFT allows you to analyze how the frequencies evolve, which is not possible with the standard Fourier Transform.

How does windowing affect the Short Time Fourier Transform?

Windowing in STFT involves multiplying the signal by a window function that is non-zero only for a short duration. This affects the time-frequency resolution trade-off: a narrow window provides better time resolution but poorer frequency resolution, while a wide window provides better frequency resolution but poorer time resolution.

What are the limitations of the Short Time Fourier Transform?

The main limitation of STFT is the trade-off between time and frequency resolution. Due to the Heisenberg Uncertainty Principle, you cannot have arbitrarily good resolution in both time and frequency simultaneously. Additionally, the choice of window size and type can significantly impact the results.

Can Fourier Transform and Short Time Fourier Transform be used together?

Yes, Fourier Transform and Short Time Fourier Transform can be used together. For instance, you might use the Fourier Transform to get an overall frequency analysis of a stationary signal and then apply STFT to analyze specific segments where frequency content changes over time.

Similar threads

Replies
47
Views
3K
Replies
4
Views
4K
Replies
3
Views
2K
Replies
3
Views
1K
Replies
1
Views
1K
Replies
43
Views
6K
Replies
2
Views
2K
Replies
1
Views
1K
Back
Top