atompy.Hist2d.rebinned_x#
- Hist2d.rebinned_x(factor)[source]#
Rebin x-dimension of histogram.
Return a Hist2d where the first dimension was rebinned with a factor of factor
- Parameters:
- factor
int This is how many old bins will be combined to a new bin. The number of old bins divided by factor must be integer.
- factor
- Returns:
- rebinned_hist2dHist2d
the new (rebinned) histogram