Fourier Transform vs Short Time Fourier Transform...

  • Thread starter Thread starter fog37
  • Start date Start date
  • Tags Tags
    Fourier transform
Click For Summary
SUMMARY

The discussion centers on the comparison between Fourier Transform (FT) and Short Time Fourier Transform (STFT), highlighting the STFT's advantages in time-frequency localization for non-stationary signals. However, the STFT introduces edge effects and reduces frequency resolution, which can compromise accuracy. The uncertainty principle is mentioned as a factor affecting STFT outputs. The conversation concludes that the choice between FT and STFT is context-specific, requiring analysts to weigh the trade-offs based on their specific needs.

PREREQUISITES
  • Understanding of Fourier Transform (FT) and Short Time Fourier Transform (STFT)
  • Knowledge of signal processing concepts, including non-stationary signals
  • Familiarity with the uncertainty principle in signal analysis
  • Experience with window functions and their impact on spectral analysis
NEXT STEPS
  • Explore the implications of edge effects in STFT and methods to mitigate them
  • Learn about power spectrum accumulation (PSA) techniques for signal recovery
  • Investigate Welch's method for averaging windowed segments in spectral analysis
  • Study the trade-offs between frequency resolution and time localization in signal processing
USEFUL FOR

Signal processing engineers, data analysts, and researchers working with time-frequency analysis of signals, particularly those dealing with non-stationary data.

fog37
Messages
1,566
Reaction score
108
TL;DR
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.
 
  • Like
Likes   Reactions: fog37
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.
 
  • Like
Likes   Reactions: osilmag
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   Reactions: 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   Reactions: DeBangis21 and berkeman

Similar threads

  • · Replies 47 ·
2
Replies
47
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 43 ·
2
Replies
43
Views
7K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K