Commit graph

24 commits

Author SHA1 Message Date
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
99bead518c tests: additional test for expected chiqsquare and correlated fit based
on cov obs added.
2022-03-07 11:54:09 +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
952c7acef5 tests: additional tests for alternative fit methods in
fits.least_squares added
2022-02-02 10:10:20 +00:00
Simon Kuberski
d1e18b6673 Fixes least_squares with migrad, tests extended 2022-02-02 09:05:13 +01:00
Fabian Joswig
6174343de6 test: test for ks_test added 2022-01-10 15:24:43 +01:00
Fabian Joswig
1cbbc68e8b test criterion for correlated fit relaxed 2021-12-20 11:46:05 +01:00
Fabian Joswig
ec20ee38a6 feat!: covariance replaced by covariance2, window altered to minimum of
the window of the two observables. Tests adjusted.
2021-12-13 17:06:03 +00:00
Fabian Joswig
352b93ee2c fix: the covariance functions now correctly check whether the
gamma_method was run. Tests added.
2021-12-09 13:06:49 +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
f223b12cc2 fix: instances of plot.show changed to plot.draw in fit module 2021-12-07 08:27:24 +00:00
Fabian Joswig
6028274342 test: test for r_value propagation in fits added 2021-12-04 13:05:18 +00:00
Simon Kuberski
359c9c06da Bugfix for covobs, fit tests for covobs added 2021-11-30 13:32:50 +01: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
99d8ee5dd5 Adapted test_total_least_squares 2021-11-15 18:12:49 +01:00
Simon Kuberski
522a1f152a Bugfix in tests, changed output in case of correlated fits 2021-11-15 17:54:04 +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
e4d7d56180 first version of new bookeeping system 2021-11-01 17:14:30 +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
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
d63c749a17 Fit_result gammma_method, str and repr added 2021-10-31 12:00:26 +00:00
Fabian Joswig
b5f3dd6ac3 Benchmarks added 2021-10-26 10:20:47 +01:00
Renamed from tests/test_fits.py (Browse further)