interp_nb

ell1fit.phase_utils.interp_nb(x_vals, x, y)[source]

Numba-friendly wrapper around numpy.interp.

Parameters:
x_valsnp.ndarray

Coordinates where interpolation is evaluated.

xnp.ndarray

Monotonic sample coordinates.

ynp.ndarray

Sample values at x.

Returns:
np.ndarray

Interpolated values at x_vals.