mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 23:00:25 +01:00
fix: removed automatic call to gamma_method in __str__ method of
Fit_results class
This commit is contained in:
parent
1a48d6939a
commit
ddfd7a2a39
2 changed files with 1 additions and 2 deletions
|
@ -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`.
|
For the full API see `pyerrors.obs.Obs`.
|
||||||
|
|
||||||
# Correlators
|
# 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
|
```python
|
||||||
my_corr = pe.Corr([obs_0, obs_1, obs_2, obs_3])
|
my_corr = pe.Corr([obs_0, obs_1, obs_2, obs_3])
|
||||||
print(my_corr)
|
print(my_corr)
|
||||||
|
|
|
@ -39,7 +39,6 @@ class Fit_result(Sequence):
|
||||||
[o.gamma_method() for o in self.fit_parameters]
|
[o.gamma_method() for o in self.fit_parameters]
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
self.gamma_method()
|
|
||||||
my_str = 'Goodness of fit:\n'
|
my_str = 'Goodness of fit:\n'
|
||||||
if hasattr(self, 'chisquare_by_dof'):
|
if hasattr(self, 'chisquare_by_dof'):
|
||||||
my_str += '\u03C7\u00b2/d.o.f. = ' + f'{self.chisquare_by_dof:2.6f}' + '\n'
|
my_str += '\u03C7\u00b2/d.o.f. = ' + f'{self.chisquare_by_dof:2.6f}' + '\n'
|
||||||
|
|
Loading…
Add table
Reference in a new issue