Fabian Joswig
e21e2d1904
fix: formatting of qqplot fixed
2022-03-11 14:54:24 +00:00
Fabian Joswig
e6813a6c8e
feat: correlated_fit now throws an exception when the correlation matrix
...
is ill conditioned with respect to the machine precision.
Criterion for warning for ill-conditioned covariance matrix changed to cond > sqrt(eps)
Test added.
2022-03-09 12:24:52 +00:00
Fabian Joswig
e5d7271a2b
Merge pull request #85 from fjosw/fix/pinv_for_chi_exp
...
Replaced inverse by the pseudo inverse in the calculation of chi_exp
2022-03-07 11:59:31 +00:00
Fabian Joswig
57a45e271f
docs: formatting of docstrings improved.
2022-03-05 08:43:57 +00:00
Fabian Joswig
6bd3868179
docs: documentation of covariance and correlated fits extended.
2022-03-05 08:13:24 +00:00
Fabian Joswig
0099750295
fix: replaced inverse by the pseudo inverse in the calculation of
...
chi_exp
2022-03-03 18:29:18 +00:00
Fabian Joswig
b6eed60ec1
refactor: computation of inverse cholesky composition for correlated
...
fits simplified. Threshold for ill conditioned correlation matrix
warning raised to 1e8.
2022-03-03 10:10:29 +00:00
Fabian Joswig
b14314b424
fix: Error handling for fits and root finding with numpy instead of autograd.numpy
...
improved. Tests added.
2022-03-02 15:49:29 +00:00
Fabian Joswig
82419b7a88
feat: positive semi-definite estimator for the covariance implemented,
...
fits.covariance matrix deprecated, covariance can now handle lists of
observables.
2022-03-01 09:45:25 +00:00
Fabian Joswig
24a0df6a2a
feat: a warning is now issued when an estimated covariance matrix is not
...
positive semi-definite. Docstrings extended.
2022-02-24 16:12:37 +00:00
Fabian Joswig
ddfd7a2a39
fix: removed automatic call to gamma_method in __str__ method of
...
Fit_results class
2022-02-15 12:24:14 +00:00
Fabian Joswig
3a6fc810b1
docs: documentation of error propagation for iterative algorithms
...
extended.
2022-02-14 14:06:46 +00:00
Fabian Joswig
16a997aa90
refactor!: Deprecated fit functions standard_fit, odr_fit and prior_fit
...
removed.
2022-02-02 10:15:39 +00:00
Fabian Joswig
d602bea5b7
refactor: Classification of fit method in fits.least_squares simplified,
...
precision of imiunit solver adjusted, prefitting for alternative methods
removed.
2022-02-02 10:05:48 +00:00
Simon Kuberski
d1e18b6673
Fixes least_squares with migrad, tests extended
2022-02-02 09:05:13 +01:00
Fabian Joswig
2a925ba0b8
refactor!: const_par keyword for constrained fits removed from functions
...
in fit module.
2022-01-24 17:43:23 +00:00
Fabian Joswig
1c088bb1b4
feat: stdout of fit routines improved
2022-01-24 13:24:07 +00:00
Fabian Joswig
5cb3291168
feat: Automated Kolmogorov Smirnov test for fit p-values added
2022-01-10 15:17:55 +01:00
Fabian Joswig
5b831ec250
feat: p-value calculation added to fit functions and fit result object
2022-01-10 15:00:47 +01:00
Fabian Joswig
82aa305dc1
fix: removed endpoints in axhline in fits.residual_plot
2022-01-06 11:56:38 +01:00
Fabian Joswig
3fd63f8b67
refactor: bare excepts removed.
2021-12-13 14:47:57 +00:00
Fabian Joswig
e213b37413
fix: prior fit routine adjusted to work with iminuit version >= 2
2021-12-09 12:50:52 +00:00
Fabian Joswig
071d550d1d
feat: priors in fits replaced by covobs, random hash added to avoid
...
prior collisions.
2021-12-09 12:36:28 +00:00
Fabian Joswig
c2ff8c715a
refactor!: ks_test removed from develop for now.
2021-12-09 10:20:13 +00:00
Fabian Joswig
87c50f54c0
refactor!: fit_general deprecated and moved to tests
2021-12-09 10:11:31 +00:00
Fabian Joswig
9ddadaf6b3
fix: fits and root now work when the value of the zeroth input is
...
exactly zero. Tests extended.
2021-12-07 18:40:36 +00:00
Fabian Joswig
968cdf3181
fix: deprecated get_fmin call removed in fits
2021-12-07 17:34:02 +00:00
Fabian Joswig
f223b12cc2
fix: instances of plot.show changed to plot.draw in fit module
2021-12-07 08:27:24 +00:00
Fabian Joswig
06dc6cd808
fix: r_values in fits are now properly propagated
2021-12-04 11:55:11 +00:00
Fabian Joswig
443e4eb74e
fix: fits now work with irregular Monte Carlo histories
2021-11-26 12:28:19 +00:00
Fabian Joswig
ed6bb24607
refactor: deprecated e_tag and e_tag_global removed from modules and
...
tests
2021-11-15 17:24:56 +00:00
Simon Kuberski
522a1f152a
Bugfix in tests, changed output in case of correlated fits
2021-11-15 17:54:04 +01:00
Simon Kuberski
9839eb7f0c
linted
2021-11-15 16:46:22 +01:00
Simon Kuberski
5a347e0506
Small change in docstrings
2021-11-15 16:42:19 +01:00
Simon Kuberski
8155037b38
Merge branch 'develop' into feature/corrfits
2021-11-15 16:40:05 +01:00
Simon Kuberski
dbe1c26362
Added the possibility to use constrained fit parameters. Added correlated least squares.
2021-11-15 16:39:50 +01:00
Fabian Joswig
b937ef04bb
docs: typos in docstrings corrected
2021-11-15 11:13:12 +00:00
Fabian Joswig
bc819828bc
least_squares docstring updated
2021-11-08 10:01:26 +00:00
Fabian Joswig
2a594dfb4b
total_least_squares docstring updated
2021-11-08 09:50:51 +00:00
Fabian Joswig
effccb1cc8
docstrings updated
2021-11-07 21:44:22 +00:00
Fabian Joswig
9805ee2b4b
pyerrors.py renamed to obs.py, h5py added as dependency
2021-11-07 11:24:56 +00:00
Fabian Joswig
52d2d3b142
repr of fit result adjusted
2021-11-01 15:03:39 +00:00
Fabian Joswig
f2a5f12dce
documentation of fit functions adjusted, deprecation warnings added to
...
standard_fit and prior_fit
2021-11-01 14:54:36 +00:00
Fabian Joswig
ebba71075a
docstrings extended
2021-11-01 14:41:57 +00:00
Fabian Joswig
bb07ce9cef
Fit_result now inherits from sequence
2021-11-01 14:21:39 +00:00
Fabian Joswig
0e8fc7d36a
odr_fit renamed, deprecation warning added
...
least_squares and total_least_squares are now available to the top level
namespace
2021-11-01 12:01:46 +00:00
Fabian Joswig
1013307e24
least_squares function introduced
2021-11-01 11:49:57 +00:00
Fabian Joswig
b514bdee67
bug in fit general fixed
2021-10-31 12:02:02 +00:00
Fabian Joswig
d63c749a17
Fit_result gammma_method, str and repr added
2021-10-31 12:00:26 +00:00
Fabian Joswig
4ceb35992e
fit_result class added
2021-10-31 11:06:12 +00:00