Commit graph

297 commits

Author SHA1 Message Date
Fabian Joswig
d922b72f3b feat: Obs.reweight method added. 2022-06-23 13:50:24 +01:00
Simon Kuberski
c9789a34e6 Resolved merge conflict in tests 2022-06-19 01:46:31 +02:00
Fabian Joswig
612e6c742b tests: matplotlib figures explicitly closed in tests 2022-06-14 14:46:45 +01:00
Fabian Joswig
ed50240d29 fix: check for correlator None entries refactored and added to all
elementary operations. Tests added.
2022-06-13 12:59:54 +01:00
Fabian Joswig
5359a30b97 fix: Bug in Corr.projected fixed which appears in connection with arrays
of None as Corr entry.
2022-06-13 11:59:05 +01:00
Fabian Joswig
f49562b895 tests: additional test for least square fits added which probes
different initial guess and exceptions.

Tolerance in total least square tests relaxed.
2022-06-10 10:13:49 +01:00
Fabian Joswig
5e550f4321 tests: test for smooth_eigenvalues functionality added. 2022-06-10 09:29:04 +01:00
Fabian Joswig
78f576a35e fix: Corr.matrix_symmetric now also works if entries of the correlators
are arrays with at least one None entry.
2022-06-09 16:47:13 +01:00
Fabian Joswig
8a911cac61 tests: Correlated least square fit tested against jackknife resampling 2022-06-07 10:59:26 +01:00
Fabian Joswig
c9e0c6e208 tests: linear least_squares fit error estimation tested against jackknife resampling. 2022-06-06 15:11:03 +01:00
Fabian Joswig
f02488208a
Merge pull request #102 from fjosw/feature/covariance_idl2
Feature/covariance idl2
2022-05-26 15:01:35 +01:00
Fabian Joswig
e7f5961cd6 fix: bug in estimation of chisquare for correlated fit fixed, tests
added.
2022-05-26 13:52:05 +01:00
Fabian Joswig
6bbd88a8c1 tests: fit_corr_independent now runs for various methods. 2022-05-25 18:03:46 +01:00
Simon Kuberski
d7a8721ef6 bug: Fixed dobs I/O, similarly to JSON I/O 2022-05-19 19:18:53 +02:00
Fabian Joswig
e9184d8368 tests: additional tests for json format added. 2022-05-19 15:51:17 +01:00
Fabian Joswig
bb0236a556 tests: test covariance vs numpy added. 2022-05-19 14:09:05 +01:00
Fabian Joswig
9011adb0de tests: additional test addedwhich checks that merge and intersction of
idls agree for identical idls.
2022-05-19 13:53:33 +01:00
Fabian Joswig
60f9bb6a89 tests: Additional tests for covariance with different idls added. 2022-05-19 13:46:04 +01: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
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