scipp.binning.make_histogrammed#
- scipp.binning.make_histogrammed(x, *, edges, erase=())#
Create dense data by histogramming data into given bins.
If the input is binned data, then existing binning dimensions are preserved. Histogramming along an existing binned dimension will replace this binning.
Usually
scipp.hist()
should be preferred.- Parameters:
- Returns:
DataArray
|Dataset
– DataArray / Dataset with values equal to the sum of values in each given bin.
See also
scipp.hist
Recommended interface for histogramming data.
scipp.bin
For binning data.