rebin methods
aminnj opened this issue · comments
Nick Amin commented
h1.rebin(3)
rebins by summing. But when calculating ratios, eg., (hnum/hden).rebin(3)
, it's not what you'd want. Either make it clear that rebin()
sums (and make the user do hnum.rebin(3)/hden.rebin(3)
) or support a .rebin(3, how="sum"/"mean")
.