pyinterp.core.geometry.geographic.RTree.radial_basis_function

pyinterp.core.geometry.geographic.RTree.radial_basis_function#

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

Radial basis function interpolation on geographic coordinates.

Parameters:
  • coordinates – Matrix of shape (n, 2) with (lon, lat) in degrees.

  • config – RBF configuration (kernel, epsilon, smooth, k, radius, threads).

Returns:

Tuple (values, neighbor_counts).