12
$\begingroup$

Say I perform FFT on some data. If the underlying (measurement) sampling rate is not twice the highest frequency, I will almost assuredly get aliasing.

This limit on sampling we call the Nyquist limit. Now on the flip side, if the integration underlying measurment window is not greater than the wavelength of the lowest frequency component, it is not guaranteed that I will be able to get a good readout of the lowest frequency component. Are there technical names to describe low frequency masking and the sampling limit imposed here?

Edit: I'm interested in terms descriptive of underlying measurment limits as opposed to transformation.

$\endgroup$
1
  • 1
    $\begingroup$ Frequency resolution. For FFT it is 1 / (signal duration in seconds) and that is the lowest frequency you can accurately measure. $\endgroup$
    – jaket
    Commented Oct 2, 2022 at 6:24

3 Answers 3

12
$\begingroup$
  • Can't capture high $f$: insufficient sampling rate.
  • Can't capture low $f$: insufficient observation interval.

The DFT is a machine that spits out frequency measures, done by correlating against finite bases. If $x(t)$ is some frequency, its DFT will peak at that frequency, meaning the inner product against a whole number of cycles is maximized. But who says the number of cycles must be whole?

Nothing, nor does anything say that a whole cycle is sufficient: for DFT at 100Hz sampling rate lasting 2 seconds, "enough" for a 1Hz signal is 2 cycles, and for a 10Hz signal it's 20 cycles, yet from a physical standpoint, there's no such x10 difference in requirement. Whole cycles do provide nice properties, but don't change legitimacy of our estimate.

Measuring "sufficiency"

Fundamentally, it's a problem of information scarcity, or time-frequency resolution. This is readily seen in the Continuous Wavelet Transform: the lowest frequency coefficients are of worst quality, which we attribute to "boundary effects", i.e. operating outside of known signal. It's not discussed much, but CWT is actually the one with fixed resolution, not STFT, in arguably the more meaningful sense: a picture of 4Hz and 2Hz, and a picture of 8Hz and 4Hz, look same if each case zooms to the higher frequency's period, like an apple twice as far appearing half as large:

which is captured directly in the CWT basis:

Note, doubled frequency has doubled number of oscillations per unit time, but same number of oscillations under the envelope, i.e. per observation interval.

So, how long an observation is long enough? Suppose we know what it is. Say, to fully capture a 2 meter tree, hold camera from 5 meters away. Then, to fully capture a 4 meter tree, hold camera from 10 meters away. By same logic, if we declare 10 cycles is good enough for 2Hz, then 20 cycles is good enough for 4Hz. Then, how far we are off from "good enough" will appear in CWT's boundary effects region (image from MATLAB):

where right at bottom, nothing is good enough!

So, it's a matter of statistics: window size in relation to frequency provides a measure of our confidence. Luckily, resolution measures have statistical mathematical equivalents.

Now, a part of the CWT argument is a prior. An assumption on the model to best fit reality. It's possible STFT is a better fit for a given task, e.g. if (completely making up) higher energy worsens particle localization hence a higher frequency photon requires a greater observation window. What holds either way is, this is a matter of information, well-handled by statistics and heuristics.

Lastly, a correct but incomplete point is, insufficient SR = can't recover perfectly, but insufficient window can recover. Problem is, the insufficient window must have a sufficient SR - what this actually requires, though, is for the window to be long enough! That's because "sufficient SR" presumes "bandlimited", which is only satisfied with an infinite observation window, or window that captures at least one full period of a periodic input.

$\endgroup$
4
$\begingroup$

The Nyquist limit does not cover block based DFT/FFTs. At least not directly, I believe.

Rather, the argument is that you can point sample any bandwidth limited continuous waveform at >2x its bandwidth and perfectly recreate it.

In order to do this at the limit you may need to apply a $\sin(x)/x$ brickwall filter that has infinite extent.

Are you applying a one-off FFT, or is there some STFT/block-based FFT filterbank going on? If the latter, then you can have perfect reconstruction, meaning that there is no loss of information.

If you apply a single DFT/FFT of length 1 ms to a sine of periodicity 10ms, the transform can hardly be used to generally resolve for that frequency. I don't know if there is a name for that.

$\endgroup$
3
  • $\begingroup$ Yes I'm doing a one-off FFT. I can see how using STFT could perfectly reconstruct high frequencies, but I don't believe STFT can can perfectly reconstruct low frequencies without a wide enough kernel/window. $\endgroup$
    – Davey
    Commented Oct 1, 2022 at 14:27
  • 1
    $\begingroup$ Perfect regonstruction is perfect regonstruction. Imagine the DC coefficient of a sliding FFT as an integrator working on a subportion of that low frequency sine. In the positive region of 0…pi, it would output some positive «DC» value, that would be recreated by an ifft. A staircase approximation to a sine if you will. Higher freq coeffs would take care of the local curvature. $\endgroup$
    – Knut Inge
    Commented Oct 1, 2022 at 14:59
  • $\begingroup$ If a component frequency were low enough relative to sampling rate and integration window, the curvature would be measured as zero. The kernel/integration window still needs to be large enough to detect a change. $\endgroup$
    – Davey
    Commented Oct 1, 2022 at 16:25
1
$\begingroup$

Another way to look at this is that if you are doing a DFT/fourier series with a finite measurement window in the time domain, this means you are in effect windowing the hypothetical ever-lasting input with a rectangular window. This convolves the fourier transform by a sinc function, smearing the low frequency component across a range. This is what prevents you from measuring low frequency components with precision.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.