pyinterp.Binning2D.push_delayed

Binning2D.push_delayed(x: Union[numpy.ndarray, dask.array.core.Array], y: Union[numpy.ndarray, dask.array.core.Array], z: Union[numpy.ndarray, dask.array.core.Array], simple: Optional[bool] = True) dask.array.core.Array[source]

Push new samples into the defined bins from dask array.

Parameters
  • x (numpy.ndarray, dask.Array) – X coordinates of the samples.

  • y (numpy.ndarray, dask.Array) – Y coordinates of the samples.

  • z (numpy.ndarray, dask.Array) – New samples to push into the defined bins.

  • simple (bool, optional) – If true, a simple binning 2D is used otherwise a linear binning 2d is applied. See the full description of the algorithm here.

Returns

The calculation graph producing the update of the grid 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