Commit graph

366 commits

Author SHA1 Message Date
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
217d310ca4 tests: test for _intersection_idx extended. 2022-04-28 14:13:29 +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
Simon Kuberski
0f735c0d2d Some changes on dobs 2022-04-13 16:05:30 +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
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
Simon Kuberski
cf137e2843 Added tests for t0 and qtop 2022-02-09 18:41:54 +01:00
Fabian Joswig
ca04097272 feat: thin method added to Corr class which allows to thin out a
correlator in order suppress correlations between neighbouring entries
2022-02-09 15:32:18 +00:00
Fabian Joswig
471eabeb8c fix: Bug in export of derivative of correlator containing covobs fixed,
test added.
2022-02-09 14:18:36 +00:00
Fabian Joswig
7568275d5d refactor: io tests split up in several files 2022-02-09 14:05:44 +00:00
Fabian Joswig
f16ba109fc
Merge pull request #60 from s-kuberski/feature/rwf
Yet another small change to openQCD. Added explicit tests for reweighting
2022-02-09 14:00:59 +00:00
Simon Kuberski
25d00de5ce More tests for openQCD-2.0 2022-02-09 14:13:04 +01:00
Simon Kuberski
570c6abf2a Yet another small change to openQCD. Added explicit tests for reweighting. 2022-02-09 14:08:05 +01:00
Fabian Joswig
080e09a07f tests: tests cleaned up, name duplicate in obs_test corrected 2022-02-09 11:23:58 +00:00
Fabian Joswig
f51503555b fix: CObs can now be added and multiplied to as well as subtracted from
Obs in all combinations
2022-02-08 17:07:40 +00:00
Fabian Joswig
60ad91ead6 tests: coverage in correlator increased 2022-02-08 14:43:23 +00:00
Fabian Joswig
6ae53cb575 tests: tests for correlator module corrected and extended 2022-02-08 14:31:49 +00:00