mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-15 03:53:41 +02:00
Merge branch 'develop' into documentation
This commit is contained in:
commit
3e84ad18a2
2 changed files with 3 additions and 3 deletions
|
@ -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'
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -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',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue