noads.core.models.interpolation#

Utilities for spline-based interpolation.

class noads.core.models.interpolation.InterpolatedUnivariateSpline(x, y, k=3, endpoints='not-a-knot', coefficients=None)[source]#

Bases: object

classmethod tree_unflatten(aux_data, children)[source]#
antiderivative(xs)[source]#

Computes the antiderivative of first order of this spline.

derivative(x, n=1)[source]#

Analytic nth derivative of the spline.

The spline has derivatives up to its order k.

tree_flatten()[source]#
noads.core.models.interpolation.interpolate_data(x, x_data, y_data, cubic=False)[source]#

Cubic or linear interpolation function with JAX.

Functions

interpolate_data(x, x_data, y_data[, cubic])

Cubic or linear interpolation function with JAX.

Classes

InterpolatedUnivariateSpline(x, y[, k, ...])