bug in fit general fixed

This commit is contained in:
Fabian Joswig 2021-10-31 12:02:02 +00:00
parent d63c749a17
commit b514bdee67

View file

@ -667,7 +667,7 @@ def ks_test(obs=None):
print(scipy.stats.kstest(Qs, 'uniform')) print(scipy.stats.kstest(Qs, 'uniform'))
def fit_general(x, y, func, silent=silent, **kwargs): def fit_general(x, y, func, silent=False, **kwargs):
"""Performs a non-linear fit to y = func(x) and returns a list of Obs corresponding to the fit parameters. """Performs a non-linear fit to y = func(x) and returns a list of Obs corresponding to the fit parameters.
Plausibility of the results should be checked. To control the numerical differentiation Plausibility of the results should be checked. To control the numerical differentiation