Commit graph

807 commits

Author SHA1 Message Date
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
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
7f5989dfb9 docs: latex in docstring of covariance fixed 2022-03-02 12:29:26 +00:00
Fabian Joswig
c54ea54069
Merge pull request #83 from fjosw/feature/covariance_from_correlation
Reworked covariance
2022-03-02 12:01:03 +00:00
Fabian Joswig
ece3c5d2ba tests: additional test added. 2022-03-02 11:49:29 +00:00
Fabian Joswig
11007dffc9 docs: docstrings of covariance and _covariance_element clarified 2022-03-02 11:11:48 +00:00
Fabian Joswig
42d9d3630e ci: W605 added to flake8 exceptions. 2022-03-01 19:20:05 +00:00
Fabian Joswig
1f0f060472 docs: docstring for covariance extended. 2022-03-01 19:07:08 +00:00
Fabian Joswig
da0c43fe9a feat: correlation parameter added to covariance again, tests extended. 2022-03-01 17:46:12 +00:00
Fabian Joswig
8d93ff95f2 tests: further tests for covariance added. 2022-03-01 17:38:42 +00:00
Fabian Joswig
3796c0395f feat: computation of _covariance_element optimized, visualize option
added to covariance, tests adjusted.
2022-03-01 15:34:53 +00:00
Fabian Joswig
c28d6131b1 refactor: redundant lines in _covariance_element removed. 2022-03-01 14:35:38 +00:00
Fabian Joswig
74b0f77c2d feat: covariance is now estimated from the uncorrelated correlation
matrix rescaled by the full (correlated) errors.
2022-03-01 14:32:13 +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
8e3e34bbea tests: test for covariance of covobs added 2022-02-26 09:13:59 +00:00
Fabian Joswig
bb3ddabfd0 Merge branch 'develop' of github.com:fjosw/pyerrors into develop 2022-02-25 16:59:48 +00:00
Fabian Joswig
4498da01a9 fix: Relative minus sign for TTtilde operator added in
hadrons.read_fourquark_hd5
2022-02-25 16:59:20 +00:00
Fabian Joswig
c66dee6ee8
Merge pull request #82 from s-kuberski/feature/covobs
feat: Check for symmetry and positive-semidefiniteness of covariance …
2022-02-25 16:51:52 +00:00
Fabian Joswig
542296099f feat: hadrons fourquark function can now read tensor operators 2022-02-25 16:41:02 +00:00
Simon Kuberski
751d28711f feat: Check for symmetry and positive-semidefiniteness of covariance matrices in the initialization of covobs 2022-02-25 17:39:49 +01: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
b960ce0e3d
Merge pull request #81 from s-kuberski/bugfix/idl
_merge_idx now returns sorted lists
2022-02-23 17:00:59 +00:00
Simon Kuberski
86b1371363 Adjusted function definitions, added test for _merge_idx 2022-02-23 17:51:12 +01:00
Simon Kuberski
3288dfd148 _merge_idx now returns sorted lists 2022-02-23 17:31:18 +01:00
Fabian Joswig
6bfeff4f27 fix: Corr.fit now explicitly checks that the provided fit range is a two
element list.
2022-02-23 16:23:42 +00:00
Fabian Joswig
ab8e3ce549 fix: splitting at '.' removed from auto detection of replica names in
openQCD.read_rwms
2022-02-23 10:26:32 +00:00
Fabian Joswig
5ee975dc44 fix: auto detection of replica names in opeqnQCD.rwms now also works
with dots in the file names.
2022-02-23 10:25:13 +00:00
Fabian Joswig
fe4c04adcb Version number bumped to 2.0.0-rc.2+dev 2022-02-23 10:23:09 +00:00
Fabian Joswig
7ba013cc60 Version number bumped to 2.0.0-rc.1 2022-02-22 21:41:32 +00:00
Fabian Joswig
39dff5a830 tests: tests for GEVP fixed, docstring for Corr.Eigenvalue added, typos
fixed
2022-02-22 21:33:04 +00:00
Fabian Joswig
7830ba7b6c
Merge pull request #77 from JanNeuendorf/develop
Changes to Eigenvalue
2022-02-22 21:26:21 +00:00
Fabian Joswig
dd3bee5635 feat: basic arithmetic operations for correlators and np.ndarrays of the
same length work now.
2022-02-22 15:09:06 +00:00
Fabian Joswig
1ee4aa0a59 feat: hadrons.read_mesons_hd5 now checks whether 'meson' is available
and throws a dedicated exception.
2022-02-22 10:53:49 +00:00