scipp.histogram

scipp.histogram

scipp.histogram(x, *, bins)

Create dense data by histogramming data along all dimension given by edges.

Returns

DataArray / Dataset with values equal to the sum of values in each given bin.

Seealso

scipp.bin() for binning data.

Parameters
Return type

Union[scipp._scipp.core.DataArray, scipp._scipp.core.Dataset]