pyinterp.Binning1D.push_delayed#

Binning1D.push_delayed(x: numpy.ndarray | dask.array.core.Array, z: numpy.ndarray | dask.array.core.Array, weights: numpy.ndarray | dask.array.core.Array | None = None) dask.array.core.Array[source]#

Push new samples into the defined bins from dask array.

Parameters:
  • x – X coordinates of the samples.

  • z – New samples to push into the defined bins.

  • weights – An array of weights, of the same shape as z. Each value in a only contributes its associated weight towards the bin count (instead of 1).

Returns:

The calculation graph producing the update of the vector from the provided samples. Running the graph will return an instance of this class containing the statistics calculated for all processed samples.

See also

push