interpax_fft.interp_rfft
- interpax_fft.interp_rfft(x, f, domain=(0, 6.283185307179586), axis=-1)Source
Interpolate real-valued
ftoxwith FFT and MMT.- Parameters:
x (jnp.ndarray) – Real query points where interpolation is desired. Shape of
xmust broadcast with arrays of shapenp.delete(f.shape,axis).f (jnp.ndarray) – Real function values on uniform grid over an open period to interpolate.
domain (tuple[float]) – Domain over which samples were taken.
axis (int) – Axis along which to transform.
- Returns:
fq (jnp.ndarray) – Real function value at query points.