Improve fits of residual distributions
Created by: antonellopellecchia
The residual distributions for now are fitted with the curve_fit
function of scipy
, which allows only binned least squared fits. Also sometimes I get weird results like negative sigmas. This has to be replaced with a different fit package like iminuit or zfit.