pyinterp.core.Binning1DFloat32.push

Binning1DFloat32.push(self: pyinterp.core.Binning1DFloat32, x: numpy.ndarray[numpy.float32], z: numpy.ndarray[numpy.float32], weights: numpy.ndarray[numpy.float32] | None = None) None

Push new samples into the defined bins.

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

  • z – New samples to push.

  • weights – Weights of the new samples. Defaults to None.