pyinterp.Binning2DFloat32.push

pyinterp.Binning2DFloat32.push#

Binning2DFloat32.push(self, x: numpy.ndarray[dtype=float32, shape=(*), writable=False], y: numpy.ndarray[dtype=float32, shape=(*), writable=False], z: numpy.ndarray[dtype=float32, shape=(*), writable=False], simple: bool = True) None#

Push new samples into the defined bins.

Parameters:
  • x – X coordinates of the values to push.

  • y – Y coordinates of the values to push.

  • z – New samples to push.

  • simple – If true, a simple binning 2D is used otherwise a linear binning 2D is applied.