Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Physics LibreTexts

11.2: Spectral Resolution and Range

( \newcommand{\kernel}{\mathrm{null}\,}\)

In the previous section, we showed how a continuous Fourier integral is converted into a DFT. This process involved two distinct approximations. Firstly, the Fourier integral is truncated from its original range, x(,), to a finite interval of length NΔx. Secondly, the integral is discretized by reducing the continuous variable x to a set of discrete points {x0,,xN1}. Both of these approximations have important consequences for the accuracy of our numerical Fourier spectrum, which we will examine in turn.

11.2.1 Spectral Resolution

The truncation of the Fourier integral limits the spectral resolution of the Fourier spectrum. To see this, suppose we perform truncation without discretization, by taking a continuous Fourier integral and truncating it to a finite range x[0,X]:

F(k)X0dxeikxf(x).

Consider a harmonic function f(x)=eik0x. The exact Fourier transform can be shown to be a delta function, F(k)=2πδ(kk0), i.e. an infinitely sharp peak centered at k=k0. With the above truncation, however, the resulting integral is

F(k)X0dxei(kk0)x=2sin[(kk0)X/2]kk0ei(kk0)X/2.

clipboard_e12415dec8128db7698e54aceba968937.png
Figure 11.2.1: Fourier power spectrum from a truncated Fourier transform of f(x)=exp(ik0x), with k0=1 and sampling interval k[0,300] (about 48 periods).

For X, the above formula approaches a delta function (an infinitesimally-thin peak) centered at k=k0. But for finite X, the plot of |F(k)|2 versus ω behaves as shown in Fig 11.2.1. Evidently, truncating the Fourier integral has "smeared out" the Fourier spectrum, broadening the infinitesimally-thin delta function peak into a finite-width peak. The peak width, Δk1/X, limits the "resolution" of our Fourier analysis.

In the discretized Fourier transform, the truncation of the Fourier integral has essentially the same effect. As discussed in the previous section, the DFT is defined at kn2πn/X; hence, the resolution of the Fourier spectrum is Δk=2π/X.

11.2.2 Spectral Range

The other approximation which we made in going from a continuous Fourier transform to the DFT involved sampling f(x) at discrete values of x. This discretization has the effect of limiting the spectral range. To see this, let us look again at the DFT formula, which is dimensionless:

Fn=N1m=0e2πimnNfm.

Normally, we consider only the indices n=0,1,,N1. However, if we replace n with n+N in the right-hand side, the result would be the same:

Fn+N=N1m=0e2πim(n+N)Nfm=N1m=0e2πimn)N2πimfm=Fn.

We can hence regard F as a periodic discrete function of n, with period N. Next, consider how the DFT is related to the physical x and k variables. Taking x0=0 for simplicity,

F(kn)=N1m=0e2πimnNf(xm)=N1m=0eiknmΔxf(xm).

If we perform the replacement

knkn+K,whereK2πΔx,

then evidently F(kn) is left unchanged. Indeed, we could add any integer multiple of K without altering the result. This means that the DFT spectrum is only defined under k modulo K, by contrast with the continuous Fourier transform which is defined over the entire interval <k<.

The default definition of the DFT gives the integer indices n=0,1,,N1, which corresponds to 0kK. However, when plotting the DFT spectrum, we usually adjust the range of k to K/2kK/2. This is done by taking the "upper half" of the DFT spectrum, K/2kK, and translating it via the replacement kkK. Due to the periodicity of the DFT, the upper half of the DFT spectrum becomes the negative k part of the spectrum. In terms of the integer indices n, the process is depicted in the figure below:

clipboard_ef19595c68960465a67778920d9026739.png
Figure 11.2.2: A DFT spectrum, Fn, is periodic with period N. By default, the DFT is reported in the spectral range n[0,N1] (red curve in the upper plot). To relate this to the continuous Fourier transform, we re-center the spectrum at n=0, which is equivalent to translating the upper half of the spectrum to negative values (red curve in the lower plot).

The reason for this adjustment is that, intuitively, the discretized Fourier spectrum contains information about the "low-frequency" part of the spectrum, |k|<K/2, including both positive and negative values of k. On the other hand, the discretized Fourier spectrum lacks information about the "high frequency" part of the spectrum, which correspond to harmonics with periods shorter than the discretization step Δx. Hence, it makes sense to "center" our Fourier spectrum around the origin. It can then be shown that as the discretization step approaches zero (and hence K=2π/Δx), the |k|K part of the adjusted DFT spectrum converges to the exact (continuous) Fourier spectrum.

The corollary to the above discussion is that if we have a function which has no frequency components larger than kmax, then it is sufficient to use a sampling interval Δx=π/kmax. This is called the Nyquist-Shannon sampling theorem.

11.2.3 Summary of Spectral Relations

The results of the previous sections can be summarized in this way:

  • The total range of x, which is denoted by X, limits the resolution of the spectrum to Δk=2π/X.
  • The resolution of x, which is the discretization step Δx, limits the range of the spectrum to K=2π/Δx.

These relations are easy to remember, because the "interval length" in the one domain places a limit on the "discretization step" in the other domain. It is very important to keep these relations in mind when working with discrete Fourier transforms! For example, a common mistake that people make is to try to improve the resolution of a Fourier spectrum by increasing the number of discretization steps, N, while keeping the total interval X fixed. This doesn't work; it leaves the spectral resolution unchanged! In order to improve the spectral resolution, one has to increase the total interval instead.


This page titled 11.2: Spectral Resolution and Range is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Y. D. Chong via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?