pyinterp.RTree3DFloat32.radial_basis_function

pyinterp.RTree3DFloat32.radial_basis_function#

RTree3DFloat32.radial_basis_function(self, coordinates: numpy.ndarray[dtype=float32, shape=(*, *), writable=False], config: pyinterp.core.config.rtree.RadialBasisFunction | None = None) tuple[numpy.ndarray[dtype=float32, shape=(*), order='C'], numpy.ndarray[dtype=uint32, shape=(*), order='C']]#

Radial basis function interpolation.

Interpolate values at query locations using radial basis functions.

Parameters:
  • coordinates – Query coordinates, shape (n, 3) or (n, 2).

  • config – Configuration for RBF interpolation.

Returns:

  • values: RBF-interpolated values at query points

  • neighbor_counts: Number of neighbors used in interpolation

Return type:

Tuple of (values, neighbor_counts) where