Skip to content
Oakfield Operator Calculus Function Reference Site

Spectral Filtering

For a spectral multiplier M(k)M(k) and Fourier coefficients u^(k)\hat{u}(k),

u^filt(k)=M(k)u^(k)\hat{u}_{\text{filt}}(k) = M(k)\,\hat{u}(k)

defines filtering in the frequency domain. Common choices include sharp cutoff (M(k)=1kkcM(k) = \mathbf{1}_{|k|\le k_c}), exponential filters M(k)=eα(k/kc)pM(k) = e^{-\alpha (|k|/k_c)^p}, or Gaussian tapers.

Applicable to Fourier-transformed signals u^(k)\hat{u}(k) over Zd\mathbb{Z}^d or Rd\mathbb{R}^d. Output resides in the same spectral space with modified amplitudes.


Linear and diagonal in the spectral basis; preserves phases when M(k)M(k) is real and nonnegative. Spatially, filtering corresponds to convolution with the inverse transform of M(k)M(k).


Sharp truncation corresponds to ideal low-pass filtering. As α0\alpha \to 0 in exponential filters, M(k)1M(k) \to 1 and filtering vanishes; increasing α\alpha strengthens attenuation of high-k|k| modes. A true hard cutoff is given by the indicator filter M(k)=1kkcM(k)=\mathbf{1}_{|k|\le k_c} (or can be approached by increasing the filter order pp while keeping M(0)=1M(0)=1).


  • Sharp cutoff: M(k)=1kkcM(k)=\mathbf{1}_{|k|\le k_c} (ideal low-pass).
  • Exponential filter: M(k)=eα(k/kc)pM(k)=e^{-\alpha(|k|/k_c)^p} with tunable strength α\alpha and order pp.

Spectral bandwidth quantifies the spread remaining after filtering; spectral entropy measures the concentration of energy after applying M(k)M(k).


Oakfield provides both physical-space and spectral-space filtering mechanisms:

  • Physical-space filtering: sieve performs a discrete Gaussian-like low-pass convolution (or complementary high-pass residual) on real or complex fields (complex is component-wise).
  • Spectral-space filtering: linear_dissipative acts as a fractional-Laplacian spectral damper by multiplying FFT bins by an exponential decay factor.
  • Spectral conversion: fft_convert provides explicit physical↔spectral transforms when a workflow needs to operate directly in the spectral domain.

Fourier methods make linear, shift-invariant filtering diagonal: multiplication by M(k)M(k) in frequency corresponds to convolution in physical space.

Spectral filtering is a standard stabilization tool in pseudo-spectral methods, controlling aliasing and suppressing unresolved high-frequency energy.


  • Canuto et al., Spectral Methods
  • Trefethen, Spectral Methods in MATLAB