IMLCV.tools._rbf_interp#

Module for RBF interpolation.

Classes#

RBFInterpolator

Radial basis function (RBF) interpolation in N dimensions. adapted from scipy

Functions#

cv_vals(x, power, metric)

Module Contents#

IMLCV.tools._rbf_interp.cv_vals(x: IMLCV.base.CV.CV, power: jax.Array, metric: IMLCV.base.CV.CvMetric)#
class IMLCV.tools._rbf_interp.RBFInterpolator(*args, **kwargs)#

Bases: IMLCV.base.datastructures.MyPyTreeNode

Radial basis function (RBF) interpolation in N dimensions. adapted from scipy

_coeffs: jax.Array#
y: IMLCV.base.CV.CV#
d: jax.Array#
smoothing: jax.Array#
epsilon: jax.Array#
powers: jax.Array#
metric: IMLCV.base.CV.CvMetric#
d_shape: tuple[int, Ellipsis]#
kernel: str#
d_dtype: jax.numpy.dtype | None#
classmethod create(y: IMLCV.base.CV.CV, metric: IMLCV.base.CV.CvMetric, d: jax.Array, smoothing=0.0, kernel='gaussian', epsilon=None, degree=None)#
__call__(x: IMLCV.base.CV.CV)#

Evaluate the interpolant at x.

Parameters:

x ((Q, N) array_like) – Evaluation point coordinates.

Returns:

Values of the interpolant at x.

Return type:

(Q, …) ndarray

__getstate__()#
__setstate__(state: dict)#