Skip to main content

Module fourier_integrals

Module fourier_integrals 

Source
Expand description

Numerical Fourier integrals of functions with finite support.

The transform follows the angular-frequency convention F(omega) = integral f(x) exp(-i omega x) dx, with inverse f(x) = (1 / 2 pi) integral F(omega) exp(i omega x) d omega. The integral is approximated by the trapezoidal rule on M evenly spaced samples over the support. A chirp-z transform evaluates the requested evenly spaced frequencies using the crate’s Fft implementation.

See the book entry Spectra at chosen frequencies: Goertzel, chirp-z and Fourier integrals.

Structs§

FourierIntegralResult
Samples of a Fourier integral on an angular-frequency grid.

Enums§

FourierDirection
Polarity and normalization convention for a Fourier integral.

Functions§

fourier_integral
Approximate the Fourier integral of f over its finite support.