pyinterp.Binning1D.variable

Binning1D.variable(statistics: str = 'mean') NDArray1D[source]

Get the regular grid containing the calculated statistics.

Return the grid with the requested statistical variable computed from the binned data.

Parameters:

statistics – The statistics to compute.

Returns:

The dataset representing the calculated statistical variable.

Return type:

numpy.ndarray

See also

The pyinterp.Binning2D.variable() method describes the accessible statistical variables.