gwinferno.interpolation.NaturalCubicUnivariateSpline#

class NaturalCubicUnivariateSpline(x, y, coefficients=None)[source]#

Bases: object

Minimal port of Scipy’s UnivariateSpline to JAX – restricted to only cubic splines with the “natural” boundary conditions (based from implementation in jax_cosmo.scipy.interpolate)

Methods

tree_flatten()

tree_unflatten(children)

__call__(x)[source]#

Call self as a function.

__init__(x, y, coefficients=None)[source]#