Commit graph

845 commits

Author SHA1 Message Date
Fabian Joswig
3a8e21ef2d Merge branch 'develop' into fix/covariance_idl 2022-04-28 14:14:48 +01:00
Fabian Joswig
217d310ca4 tests: test for _intersection_idx extended. 2022-04-28 14:13:29 +01:00
Fabian Joswig
c7f17396e5 fix: Another bug in range detection of obs._intersection_idx fixed. 2022-04-28 14:07:42 +01:00
Fabian Joswig
99c98aeb9e fix: bug in obs._intersection_idx fixed. 2022-04-28 11:26:42 +01:00
Fabian Joswig
d96c5cab75
Merge pull request #94 from fjosw/feature/covariance_idl_first_fix
Feature/covariance idl first fix
2022-04-19 17:29:31 +01:00
Fabian Joswig
979380eada Merge branch 'develop' of github.com:fjosw/pyerrors into develop 2022-04-19 13:14:06 +01:00
Fabian Joswig
9b356c9e97 docs: clarification on Corr.fit fitrange added. 2022-04-19 13:13:45 +01:00
Fabian Joswig
c77ab9a95d
Merge pull request #93 from s-kuberski/feature/bdio
Removed sorting of kappas and speed improvement in read_mesons
2022-04-19 13:09:37 +01:00
Simon Kuberski
ee631c3ee0 Removed sorting of kappas and speed improvement in read_mesons 2022-04-19 12:27:49 +02:00
Fabian Joswig
6459f46a70
Merge pull request #91 from s-kuberski/feature/bdio
Fix: read_mesons and read_dSdm now return Obs with the correct idl based on the information in the bdio file.
2022-04-18 11:46:17 +01:00
Simon Kuberski
a5394521e7 Fix: read_mesons and read_dSdm now return Obs with the correct idl based on the information in the bdio file. 2022-04-13 18:20:13 +02:00
Fabian Joswig
eacc9b19a3 feat: the correlation for two observables with different idls is now based on
the intersection of two instead of the union. Tests added.
2022-04-08 11:46:50 +01:00
Fabian Joswig
934d091249 feat: _intersection_idx and _collapse_deltas_for_merge together with
tests added.
2022-04-08 11:14:58 +01:00
Fabian Joswig
c9f65298b4 tests: test added that checks that correlated and uncorrelated fits give
the same result if the input data is uncorrelated.
2022-04-07 17:14:26 +01:00
Fabian Joswig
5e7753a66d fix: expand_deltas in covariance replaced by _expand_deltas_for_merge
which correctly collapses idls as done in derived observable.
2022-04-07 16:28:15 +01:00
Fabian Joswig
66997ac993 tests: test for merge_idx added. 2022-04-07 16:14:46 +01:00
Fabian Joswig
7edc617e04 tests: test for covariance of two obs with differently spaced idls
added.
2022-04-07 16:09:37 +01:00
Fabian Joswig
6cb1e98647 fix: automatic range of residual_plot improved. 2022-04-06 16:02:10 +01:00
Fabian Joswig
7d93cce6f6
Merge pull request #87 from fjosw/feature/eigenvalue_smoothing
feat: implemented eigenvalue smoothing method of hep-lat/9412087
2022-03-31 11:55:45 +01:00
Fabian Joswig
587cf6f9b0
Merge branch 'develop' into feature/eigenvalue_smoothing 2022-03-31 11:46:23 +01:00
Fabian Joswig
40fea8a698 Merge branch 'v2.1.0+dev' into develop 2022-03-31 11:41:25 +01:00
Fabian Joswig
f907c62b41 Version number bumped to 2.0.0, CHANGELOG updated. 2022-03-31 11:25:37 +01:00
Fabian Joswig
cd2f361a3e tests: tests for linalg and obs extended. 2022-03-24 11:45:18 +00:00
Fabian Joswig
c9e1cd10af feat: implemented unary positive operation for Obs and CObs classes,
included tolerance for exception in Obs.plot_piechart
2022-03-24 11:44:36 +00:00
Fabian Joswig
da45a398b7 refactor: unnecessary parameter rtol removed from Obs.is_zero 2022-03-22 10:26:48 +00:00
Fabian Joswig
6d8cbe2545
Merge pull request #89 from fjosw/fix/precision_is_zero
Precision of is_zero
2022-03-22 10:24:08 +00:00
Fabian Joswig
2a02020a71 fix: Increased the precision at which two observables are considered to
be equal.
2022-03-21 16:45:37 +00:00
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
a069f84264
Merge pull request #88 from fjosw/feature/spaghetti_plot
feat: spaghetti_plot
2022-03-08 11:09:55 +00:00
Fabian Joswig
b72897a1bd tests: random data removed from test_gamma_method_standard_data 2022-03-08 11:02:46 +00:00
Fabian Joswig
8d0bfafaab feat: spaghetti_plot method for monitoring exceptional configurations added to Corr class, tests added. 2022-03-08 10:50:46 +00:00
Fabian Joswig
8cd96c584e feat: implemented eigenvalue smoothing method of hep-lat/9412087 2022-03-07 14:22:50 +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
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
5c06947eb6
Merge pull request #86 from fjosw/fix/divide_by_zero_in_gamma_div
Prevent division by zero by setting values of gamma_div which are smaller than 1 to 1
2022-03-07 11:27:25 +00:00
Fabian Joswig
56af582303 docs: typo corrected 2022-03-05 15:27:29 +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
a7ff26ed9c fix: only allow irregularly spaced configs in hadrons input if idl is
specified.
2022-03-04 17:25:30 +00:00
Fabian Joswig
c446898932 fix: warning for rank deficient covariance matrix is no longer called
when covobs are involved. Test added.
2022-03-04 17:15:29 +00:00
Fabian Joswig
abbb234257 feat: hadrons input can now handle irregularly spaced ensembles. A
warning is triggered in these cases.
2022-03-04 17:03:49 +00:00
Fabian Joswig
4139f88a0a fix: prevent division by zero by setting values of gamma_div which are
smaller than 1 to 1
2022-03-04 16:56:30 +00:00
Fabian Joswig
5dd365a997 feat: Warning added when trying to estimate a covariance matrix from
observables with too few samples.
2022-03-04 11:10:59 +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
cec0ec83d7 Version number bumped to 2.0.0-rc.3+dev 2022-03-03 12:07:35 +00:00
Fabian Joswig
ceb1fabf9a Version number bumped to 2.0.0-rc.2, changelog updated. 2022-03-03 12:06:21 +00:00
Fabian Joswig
329e4abfc3
Merge pull request #84 from fjosw/refactor/covariance_e_N_determination
Simplification and speed up of the computation of e_N in _covariance_element
2022-03-03 11:55:47 +00:00
Fabian Joswig
dcc24a3806 refactor: simplification and speed up of the computation of e_N in
_covariance_element
2022-03-03 10:40:07 +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