Merge branch 'develop' into documentation

This commit is contained in:
fjosw 2022-06-06 14:04:50 +00:00
commit 3e84ad18a2
2 changed files with 3 additions and 3 deletions

View file

@ -34,9 +34,9 @@ class Fit_result(Sequence):
def __len__(self): def __len__(self):
return len(self.fit_parameters) return len(self.fit_parameters)
def gamma_method(self): def gamma_method(self, **kwargs):
"""Apply the gamma method to all fit parameters""" """Apply the gamma method to all fit parameters"""
[o.gamma_method() for o in self.fit_parameters] [o.gamma_method(**kwargs) for o in self.fit_parameters]
def __str__(self): def __str__(self):
my_str = 'Goodness of fit:\n' my_str = 'Goodness of fit:\n'

View file

@ -18,7 +18,7 @@ setup(name='pyerrors',
license="MIT", license="MIT",
packages=find_packages(), packages=find_packages(),
python_requires='>=3.6.0', python_requires='>=3.6.0',
install_requires=['numpy>=1.16', 'autograd>=1.4', 'numdifftools', 'matplotlib>=3.3', 'scipy', 'iminuit>=2', 'h5py', 'lxml', 'python-rapidjson'], install_requires=['numpy>=1.16', 'autograd>=1.4', 'numdifftools', 'matplotlib>=3.3', 'scipy>=1', 'iminuit>=2', 'h5py', 'lxml', 'python-rapidjson'],
classifiers=[ classifiers=[
'Development Status :: 5 - Production/Stable', 'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research', 'Intended Audience :: Science/Research',