Commit graph

227 commits

Author SHA1 Message Date
Simon Kuberski
d7a8721ef6 bug: Fixed dobs I/O, similarly to JSON I/O 2022-05-19 19:18:53 +02:00
Simon Kuberski
9239905ee8 bugfix: Deltas in JSON file are now relative to o.value and not o.r_values[r_name] 2022-05-19 10:14:55 +02:00
Fabian Joswig
f45b0aa6ec tests: coverage of Corr class improved. 2022-05-18 10:54:09 +01:00
Fabian Joswig
088a7da7e6 feat: Deprecation warning for Corr.GEVP kwarg state removed,
documentation extended.
2022-05-18 10:09:23 +01:00
Fabian Joswig
98ce553521 fix: exception for ts<=t0 generalized, tests added. 2022-05-18 10:02:56 +01:00
Fabian Joswig
2136958fbc feat: sorted_list argument readded to Corr.GEVP with a deprecation
warning.
2022-05-16 13:42:12 +01:00
Fabian Joswig
eb8090a90c tests: GEVP tests extended to all three sorting variants. 2022-05-16 13:28:10 +01:00
Fabian Joswig
410d7618a0 tests: GEVP tests updated to new syntax. 2022-05-16 12:07:36 +01:00
Fabian Joswig
92b19cba9f !feat: GEVP now returns all eigenvectors instead of just the ones for
the specified state.
2022-05-16 11:44:02 +01:00
Fabian Joswig
ba054fa11c refactor: correlators._solve_GEVP simplified and optimized, test added. 2022-05-16 11:35:23 +01:00
Fabian Joswig
10fc8b1f6e feat: GEVP not evaluated for t <= t0, additional checks added,
Eigenvector sort method can now cope with None entries.
2022-05-12 16:40:32 +01:00
Fabian Joswig
165e294b90 tests: test for Corr.matrix_symmetric added. 2022-05-12 16:08:42 +01:00
Fabian Joswig
c852de0688 tests: GEVP test extendd, test case for warning when ts and Eigenvalue
sorting are used at the same time.
2022-05-09 14:16:46 +01:00
Fabian Joswig
d4c913ab88
Merge pull request #97 from s-kuberski/feature/dobs
Feature/dobs
2022-05-03 09:26:27 +01:00
Simon Kuberski
729a61db61 Changed some details regarding dobs implementation 2022-05-02 15:12:07 +02:00
Simon Kuberski
44b268fcf9 Merge branch 'develop' into feature/dobs 2022-05-02 14:21:25 +02:00
Simon Kuberski
b8e5f9dfd4 Implemented the pruning of large correlation matrices by the solution of a GEVP at early times 2022-04-28 17:33:38 +02: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
Simon Kuberski
0f735c0d2d Some changes on dobs 2022-04-13 16:05:30 +02: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
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
40fea8a698 Merge branch 'v2.1.0+dev' into develop 2022-03-31 11:41:25 +01:00
Simon Kuberski
be1eeccd8e Resolved merge conflict in tests 2022-03-29 17:07:39 +02:00
Fabian Joswig
cd2f361a3e tests: tests for linalg and obs extended. 2022-03-24 11:45:18 +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
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
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
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
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
ece3c5d2ba tests: additional test added. 2022-03-02 11:49:29 +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
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
498a251072 refactor!: if clause in Obs.__init__ eliminated, empty observables need
to be initialized with means=[] from now on.
2022-02-28 13:43:49 +00:00
Fabian Joswig
8e3e34bbea tests: test for covariance of covobs added 2022-02-26 09:13:59 +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
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
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
39dff5a830 tests: tests for GEVP fixed, docstring for Corr.Eigenvalue added, typos
fixed
2022-02-22 21:33:04 +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
dce7d4bec8 tests: test for corr matrix initialization with none entries added. 2022-02-18 09:16:29 +00:00
Fabian Joswig
5f86aaba4b feat: calls to the gamma_method removed in Corr.__init__ and other
method of the Corr class. Test adjusted by adding additional calls to
the gamma_method
2022-02-15 13:25:01 +00:00
Fabian Joswig
dbcceeea3a
Merge pull request #63 from s-kuberski/feature/irregularMC
Bugfix in _reduce_deltas. Results were correct, but performance was bad
2022-02-10 13:55:51 +00:00
Simon Kuberski
5818dbe883 Bugfix in _reduce_deltas. Results were correct, but performance was bad 2022-02-10 14:49:12 +01:00
Fabian Joswig
31a98f81c4 tests: openQCD tests split up in two functions, coverage improved 2022-02-10 11:03:59 +00:00