sheap.Utils.Interp_tools module

This module handles basic operations. The idea will be keep here all the tools for interpolation

cubic_spline_coefficients(x, y)
interpolate_nans(x)

Dosent work Interpolates NaN values in a 1D JAX array using linear interpolation.

Parameters: x (jnp.ndarray): Input 1D array with possible NaN values.

Returns: jnp.ndarray: Array with NaNs replaced by interpolated values.

replaze_nan_interpolation(y)[source]
spline_eval(x_new, xk, yk, bk, ck, dk)
vmap_interp(wavelength, wavelength_xp, flux_xp)