feat: gm alias for gamma_method also added to other classes.

This commit is contained in:
Fabian Joswig 2023-01-13 17:26:52 +00:00
parent 67568a21c2
commit b9cdebd442
No known key found for this signature in database
2 changed files with 4 additions and 0 deletions

View file

@ -46,6 +46,8 @@ class Fit_result(Sequence):
"""Apply the gamma method to all fit parameters"""
[o.gamma_method(**kwargs) for o in self.fit_parameters]
gm = gamma_method
def __str__(self):
my_str = 'Goodness of fit:\n'
if hasattr(self, 'chisquare_by_dof'):