pyinterp.core.RTree3DFloat32#

class pyinterp.core.RTree3DFloat32(self, system: Optional[pyinterp.core.geodetic.System] = None)#

Bases: pybind11_builtins.pybind11_object

RTree spatial index for geodetic scalar values

Parameters

system – WGS of the coordinate system used to transform equatorial spherical positions (longitudes, latitudes, altitude) into ECEF coordinates. If not set the geodetic system used is WGS-84.

Public Methods

bounds(self)

Returns the box able to contain all values stored in the container.

clear(self)

Removes all values stored in the container.

insert(self, coordinates, values)

Insert new data into the search tree.

inverse_distance_weighting(self, ...[, k, ...])

Interpolation of the value at the requested position by inverse distance weighting method.

packing(self, coordinates, values)

The tree is created using packing algorithm (The old data is erased before construction.)

query(self, coordinates[, k, within, ...])

Search for the nearest K nearest neighbors of a given point.

radial_basis_function(self, coordinates, ...)

Interpolation of the value at the requested position by radial basis function interpolation.

window_function(self, coordinates, radius, ...)

Interpolation of the value at the requested position by window function.

Special Methods

__bool__(self)

Called to implement truth value testing and the built-in operation bool().

__copy__(self)

Implements the shallow copy operation.

__getstate__(self)

__len__(self)

Called to implement the built-in function len()

__setstate__(self, arg0)