atompy.Hist1d.rebinned#

Hist1d.rebinned(factor)[source]#

Rebin histogram

Parameters:
factorint

This is how many old bins will be combined to a new bin. Number of old bins divided by factor must be an integer

Returns:
new_histogramHist1d

The new, rebinned histogram