Commit graph

160 commits

Author SHA1 Message Date
Fabian Joswig
1d2c41ae54 feat: further speed up of GEVP by skipping the call to matrix_symmetric
if matrix is already symmetric.
2022-07-19 12:49:32 +01:00
Fabian Joswig
821d36aea9 refactor: refactored check for symmetric correlator matrix into
matrix_symmetric.
2022-07-19 12:34:31 +01:00
Fabian Joswig
42f62380b4 feat: check for symmetric matrix added to GEVP for speed up, None case
treated correctly in is_matrix_symmetric.
2022-07-19 12:22:54 +01:00
Fabian Joswig
7d280b3e26 feat: faster check for object equivalence added to is_matrix_symmetric 2022-07-19 12:18:26 +01:00
Fabian Joswig
b56c4e7694 feat: method is_matrix_symmetric added. 2022-07-19 12:13:16 +01:00
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
b047f12c12 feat: bbox_inches='tight' added to Corr.show savefig 2022-06-20 15:50:56 +01:00
Fabian Joswig
13b688c4b2 feat: title argument added to Corr.show 2022-06-20 14:39:41 +01:00
Fabian Joswig
abdeace107 fix: Modification of parameter with default in Corr.__repr__ fixed. 2022-06-15 14:05:41 +01:00
Fabian Joswig
d79aa2cf74 refactor: range in Corr.print and __repr__ renamed to print_range 2022-06-15 14:01:26 +01:00
Janneuendorf
e671d38a11 fix 2022-06-14 16:06:08 +02:00
Janneuendorf
bd6c0a223b Quick fix to corr.m_eff(). Zero values no longer produce errors but are handled as nones in m_eff(). 2022-06-14 15:49:20 +02:00
Fabian Joswig
d736c001dc fix: further checks for multi-dimensional correaltors and None entries
added to methods of Corr class.
2022-06-13 13:18:37 +01:00
Fabian Joswig
a323d60b79 fix: Exception added when symmetric or anti_symmetric are called on
multi-dimensional correlator.
2022-06-13 13:08:05 +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
ccb424a251 fix: hide_sigma in Corr.show now ignores the entry at 0 for the
estimation of the plot range.
2022-05-31 13:43:34 +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
43118bb67d docs: docstring of Corr.Eigenvalue simplified. 2022-05-16 14:19:15 +01:00
Fabian Joswig
9c17b8e719 feat: argument state readded to Corr.GEVP as deprecated kwarg.
Documentation of GEVP and _solve_GEVP extended.
2022-05-16 14:13:33 +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
4c06f9886d fix: GEVP sorted vectors fixed and simplified. 2022-05-16 13:22:42 +01:00
Fabian Joswig
c00c21ee86 !refactor: argument sorted_list of Corr.GEVP renamed to sort. 2022-05-16 11:45:10 +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
e557c9b54d feat: runtime warning added when ts is used in combination with
sorted_list="Eigenvalue" in Corr.GEVP
2022-05-09 14:14:26 +01:00
Fabian Joswig
77f0fbf699 feat: Exception added if Corr.GEVP is called on single correlator
instead of a correlator matrix.
2022-05-03 10:51:08 +01:00
Fabian Joswig
a6deb52a04 fix: Corr.GEVP now uses symmetrized correlator matrix also for sorting
methods.
2022-05-03 10:48:35 +01:00
Fabian Joswig
4bc95b6fdf feat: Standard option for Corr.GEVP is now sorted_list='Eigenvalue'. 2022-05-03 10:27:11 +01:00
Fabian Joswig
0952252a64 fix: Exception added if unknown value for sorted_list is specified in
Corr.GEVP
2022-05-02 12:58:43 +01:00
Fabian Joswig
c5b25ebdd9 feat: Argument references added to Corr.show 2022-05-02 12:13:03 +01:00
Fabian Joswig
d0f96f2bf8 feat: argument hide_sigma added to Corr.show which allows to
automatically hide data points with large errors.
2022-05-02 10:12:23 +01:00
Simon Kuberski
0ec6f14b24 Removed redundant test in prune 2022-04-29 16:03:19 +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
9b356c9e97 docs: clarification on Corr.fit fitrange added. 2022-04-19 13:13:45 +01: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
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
JanNeuendorf
280dbb5d98 comment deleted 2022-02-22 08:25:45 +01:00
JanNeuendorf
c2bc1c0bed called matrix_symmetric only once 2022-02-21 18:48:20 +01:00
JanNeuendorf
ab960ee7ad typo 2022-02-21 18:34:19 +01:00
JanNeuendorf
6b7aa29cdb GEVP method now uses scipy.eigh() and applies matrix_symmetric(). Eigenvalue takes the same arguments as GEVP and projects automatically. 2022-02-21 18:24:40 +01:00
JanNeuendorf
951233ab79 Fixed bug in Corr._init_() , added auto_gamma argument to plateaus and updated the examples. 2022-02-18 09:46:07 +01:00
Fabian Joswig
0e073da5c6 refactor: calculation of permutations in correlator module simplified. 2022-02-17 09:32:34 +00:00
Fabian Joswig
ffdda97c65
Merge pull request #70 from fjosw/feature/auto_gamma_parameter
auto_gamma parameter introduced to Corr.show
2022-02-16 11:57:55 +00:00