Commit graph

45 commits

Author SHA1 Message Date
Fabian Joswig
763c759ae0 fix: Corr.m_eff can now returns None entries if the correlator has a
sign flip. Before that the logarithm of a negative number was computed
and a warning was thrown.
2022-06-28 14:40:49 +01:00
Fabian Joswig
338bf8906a refactor: maintainability issues in tests fixed. 2022-06-24 12:28:49 +01: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
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
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
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
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
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
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
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
Fabian Joswig
9b63d8e2bd
Merge pull request #49 from fjosw/feature/improved_derivatives
feat!: Implemented improved first and second derivatives for the corresponding methods of the Corr class.
2022-01-31 17:30:22 +00:00
Fabian Joswig
a729def937 feat: backward derivative implemented, additional tests for deriv 2022-01-31 12:10:38 +00:00
Fabian Joswig
fb1f2074ca tests: Tests for matrix Corr methods added. docstrings updated 2022-01-31 11:21:16 +00:00
Fabian Joswig
8165479846 feat!: Implemented improved first and second derivatives for the
corresponding methods of the Corr class. The parameter which
distinguishes between the variant is now a string instead of a bool
which may break current analyses.
2022-01-31 10:50:00 +00:00
Fabian Joswig
8c53d500bf tests: additional tests for correlators with padding added 2022-01-27 17:06:49 +00:00
Fabian Joswig
50d6b0d9f5 tests: Warnings in tests fixed, conftest.py and pytest.ini removed 2022-01-20 13:49:34 +00:00
Fabian Joswig
c3ba07280b feat: When initializing 1d correlators it is now checked whether all obs
are defined on the same ensembles.
2022-01-19 11:03:45 +00:00
Fabian Joswig
9b52a9a615 feat!: dump methods now export to the json.gz format by default. Pickle
format can be chosen via parameter.
2022-01-19 10:43:18 +00:00
Fabian Joswig
d778a3b238 feat!: merged the parameters padding_front and padding_back of Corr into
one parameter padding
2022-01-18 14:50:18 +00:00
Fabian Joswig
47d6aa104e test: corr tests extended 2021-12-23 15:10:22 +01:00
Fabian Joswig
6c7f1f06c9 test: mpm and corr dump test extended 2021-12-23 14:56:49 +01:00
Fabian Joswig
1c65109227 test: test for padded correlators added 2021-12-20 11:37:02 +01:00
Fabian Joswig
fc25ec6929 test: test for Corr.plateau added 2021-12-08 22:42:13 +00:00
Fabian Joswig
a9e80989fe test: test for Corr.fit added 2021-12-08 22:37:38 +00:00
Fabian Joswig
012bf8ad17 correlator tests extended 2021-11-05 15:28:15 +00:00
Fabian Joswig
b07f16fe1c docstring and test added for Corr.reweight 2021-11-02 14:19:00 +00:00
Fabian Joswig
d9f4e5b453 T_symmetry test added 2021-11-02 11:23:11 +00:00
Fabian Joswig
b5f3dd6ac3 Benchmarks added 2021-10-26 10:20:47 +01:00
Renamed from tests/test_correlators.py (Browse further)