pyinterp.RTree3DFloat32.window_function

pyinterp.RTree3DFloat32.window_function#

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

Window function based interpolation.

Interpolate values at query locations using window functions.

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

  • config – Configuration for window function interpolation.

Returns:

  • values: Interpolated values at query points

  • neighbor_counts: Number of neighbors used in interpolation

Return type:

Tuple of (values, neighbor_counts) where