desc.integrals.Bounce2D.fourier

static Bounce2D.fourier(f)Source

Transform to DESC spectral domain.

Parameters:

f (jnp.ndarray) – Shape (…, num ζ, num θ). Real scalar-valued periodic function evaluated on tensor-product grid with uniformly spaced nodes (θ, ζ) ∈ [0, 2π) × [0, 2π/NFP).

Returns:

a (jnp.ndarray) – Shape is (…, 1, num ζ, num θ // 2 + 1). Complex coefficients of 2D real FFT of f.