pyinterp.RTree4DFloat32.insert

pyinterp.RTree4DFloat32.insert#

RTree4DFloat32.insert(self, coordinates: numpy.ndarray[dtype=float32, shape=(*, *), writable=False], values: numpy.ndarray[dtype=float32, shape=(*), writable=False], sigma2: numpy.ndarray[dtype=float32, shape=(*), writable=False]) None#

Insert observations into the existing tree.

Parameters:
  • coordinates – Matrix of shape (n, 4).

  • values – Vector of length n.

  • sigma2 – Vector of length n. Must be strictly positive.