fix: removed automatic call to gamma_method in __str__ method of

Fit_results class
This commit is contained in:
Fabian Joswig 2022-02-15 12:24:14 +00:00
parent 1a48d6939a
commit ddfd7a2a39
2 changed files with 1 additions and 2 deletions

View file

@ -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)

View file

@ -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'