IMLCV.tools._rbf_interp
=======================

.. py:module:: IMLCV.tools._rbf_interp

.. autoapi-nested-parse::

   Module for RBF interpolation.



Classes
-------

.. autoapisummary::

   IMLCV.tools._rbf_interp.RBFInterpolator


Functions
---------

.. autoapisummary::

   IMLCV.tools._rbf_interp.cv_vals


Module Contents
---------------

.. py:function:: cv_vals(x: IMLCV.base.CV.CV, power: jax.Array, metric: IMLCV.base.CV.CvMetric)

.. py:class:: RBFInterpolator(*args, **kwargs)

   Bases: :py:obj:`IMLCV.base.datastructures.MyPyTreeNode`


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


   .. py:attribute:: _coeffs
      :type:  jax.Array


   .. py:attribute:: y
      :type:  IMLCV.base.CV.CV


   .. py:attribute:: d
      :type:  jax.Array


   .. py:attribute:: smoothing
      :type:  jax.Array


   .. py:attribute:: epsilon
      :type:  jax.Array


   .. py:attribute:: powers
      :type:  jax.Array


   .. py:attribute:: metric
      :type:  IMLCV.base.CV.CvMetric


   .. py:attribute:: d_shape
      :type:  tuple[int, Ellipsis]


   .. py:attribute:: kernel
      :type:  str


   .. py:attribute:: d_dtype
      :type:  jax.numpy.dtype | None


   .. py:method:: create(y: IMLCV.base.CV.CV, metric: IMLCV.base.CV.CvMetric, d: jax.Array, smoothing=0.0, kernel='gaussian', epsilon=None, degree=None)
      :classmethod:



   .. py:method:: __call__(x: IMLCV.base.CV.CV)

      Evaluate the interpolant at `x`.

      :param x: Evaluation point coordinates.
      :type x: (Q, N) array_like

      :returns: Values of the interpolant at `x`.
      :rtype: (Q, ...) ndarray



   .. py:method:: __getstate__()


   .. py:method:: __setstate__(state: dict)


