pyinterp.core.RTree3DFloat32#

class pyinterp.core.RTree3DFloat32(self, spheroid: pyinterp.core.geodetic.Spheroid | None = None)#

Bases: pybind11_object

RTree spatial index for geodetic scalar values

Parameters:

spheroid – 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, coordinates)

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.

universal_kriging(self, coordinates, radius, ...)

Universal Kriging interpolation of the value at the requested position.

value(self, coordinates[, radius, k, ...])

Get the K nearest neighbors of a given point.

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)