pyinterp.core.Binning1DFloat64.push

Binning1DFloat64.push(self: pyinterp.core.Binning1DFloat64, x: numpy.ndarray[numpy.float64], z: numpy.ndarray[numpy.float64], weights: numpy.ndarray[numpy.float64] | 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.