Skip to main content

Module fourier_3d

Module fourier_3d 

Source
Expand description

Trigonometric interpolation of triply periodic gridded data.

Structs§

FourierInterpolator3D
The band-limited triply periodic trigonometric interpolant through v[[i, j, k]] = f(x0 + i px/nx, y0 + j py/ny, z0 + k pz/nz). Coefficients come from a separable direct DFT (O(N·(nx+ny+nz)) for N samples); each evaluation costs O(N). Nyquist bins of even-length axes keep their +n/2 frequency, which leaves the interpolant real.