avgem (pypi): Average a tabulated function to bins; Re-average them into different bins.
Keywords: average|binning