Batched linear interpolation with boundary handling.
For left and right values, the values at the boundaries are used.
- Parameters:
- x : jnp.ndarray
Input points to interpolate. Shape: (Nant, Nslice).
- xp : jnp.ndarray
Points to interpolate at. Shape: (Ngrid,).
- fp : jnp.ndarray
Function values at xp. Shape: (Ngrid, Nfreq, Nslice).
- Returns:
Interpolated values. Shape: (Nant, Nfreq, Nslice).
- Return type:
jnp.ndarray