From ddfd7a2a394bfd1c65565651992a166281443101 Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Tue, 15 Feb 2022 12:24:14 +0000 Subject: [PATCH] fix: removed automatic call to gamma_method in __str__ method of Fit_results class --- pyerrors/__init__.py | 2 +- pyerrors/fits.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pyerrors/__init__.py b/pyerrors/__init__.py index e423ea8a..d8f526a6 100644 --- a/pyerrors/__init__.py +++ b/pyerrors/__init__.py @@ -195,7 +195,7 @@ Make sure to check the autocorrelation time with e.g. `pyerrors.obs.Obs.plot_rho For the full API see `pyerrors.obs.Obs`. # Correlators -When one is not interested in single observables but correlation functions, `pyerrors` offers the `Corr` class which simplifies the corresponding error propagation and provides the user with a set of standard methods. In order to initialize a `Corr` objects one needs to arrange the data as a list of `Obs“ +When one is not interested in single observables but correlation functions, `pyerrors` offers the `Corr` class which simplifies the corresponding error propagation and provides the user with a set of standard methods. In order to initialize a `Corr` objects one needs to arrange the data as a list of `Obs` ```python my_corr = pe.Corr([obs_0, obs_1, obs_2, obs_3]) print(my_corr) diff --git a/pyerrors/fits.py b/pyerrors/fits.py index 339611d6..061efcd3 100644 --- a/pyerrors/fits.py +++ b/pyerrors/fits.py @@ -39,7 +39,6 @@ class Fit_result(Sequence): [o.gamma_method() for o in self.fit_parameters] def __str__(self): - self.gamma_method() my_str = 'Goodness of fit:\n' if hasattr(self, 'chisquare_by_dof'): my_str += '\u03C7\u00b2/d.o.f. = ' + f'{self.chisquare_by_dof:2.6f}' + '\n'