pyinterp.Binning1D.push_delayed

Binning1D.push_delayed(x: ndarray | Array, z: ndarray | Array, weights: ndarray | Array | None = None) 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