Fabian Joswig
b75aa741a9
feat: color and zorder for prange indicator in Corr.show added. ( #178 )
2023-05-18 17:06:15 +01:00
nils-ht
2363b755dd
NHT changes plots combined fit ( #166 )
...
* NHT changes plots combined fit
* feat: Exception for illegal combination added and test fixed.
---------
Co-authored-by: Fabian Joswig <fabian.joswig@ed.ac.uk>
2023-03-17 13:52:07 +00:00
Fabian Joswig
dc7033e51f
refactor: _standard_fit method made redundant. ( #154 )
...
* refactor: _standard_fit method made redundant.
* fix: xs and yz in Corr.fit promoted to arrays.
* fix: x promoted to array in _combined_fit if input is just a list.
* feat: residual_plot and qqplot now work with combined fits with
dictionary inputs.
* tests: test for combined fit resplot and qqplot added.
* docs: docstring of fits.residual_plot extended.
2023-03-01 10:00:35 +00:00
Fabian Joswig
a33c0a205a
feat: added __slots__ to Corr class. ( #155 )
2023-02-27 10:23:02 +00:00
Fabian Joswig
88fd37b241
fix: Corr.symmetric can now deal with None entries. ( #145 )
2023-01-16 16:10:19 +00:00
Fabian Joswig
b9cdebd442
feat: gm alias for gamma_method also added to other classes.
2023-01-13 17:26:52 +00:00
Fabian Joswig
6343968404
fix: complex correlator fix extended to array valued complex
...
correlators.
2022-12-20 18:13:15 +01:00
Fabian Joswig
f39a70c5a8
fix: Corr.__repr__ also works for complex correlators.
2022-12-20 17:40:41 +01:00
Fabian Joswig
060c23571e
fix: real and imag attributes of complex correlator object fixed.
2022-12-20 17:35:30 +01:00
Fabian Joswig
c01d822ec8
refactor: unnecessary if clause in constructor of Corr class removed.
2022-12-20 17:09:35 +01:00
Fabian Joswig
23708694d6
fix: bug in Corr.spaghetti_plot fixed which appeared in connection with
...
the replica separator. Test adjusted.
2022-12-07 12:23:49 +00:00
Fabian Joswig
873627fd95
refactor: unnecessary brackets removed.
2022-11-30 16:54:12 +00:00
Fabian Joswig
7eebba8387
feat: construction of G0 in GEVP simplified and explicit check for
...
positive-semidefiniteness added.
2022-11-30 16:42:30 +00:00
Fabian Joswig
d7649834d5
refactor: GEVP matrix cast also simplified for unsorted case.
2022-11-30 16:39:12 +00:00
Fabian Joswig
42f1e6e7fb
refactor: matrix Obs to double cast simplified.
2022-11-30 16:36:51 +00:00
Simon Kuberski
9813f741f9
feat: added log-derivatives and symmetric effective mass
2022-10-19 16:08:31 +02:00
Fabian Joswig
cc50ab9ecf
fix: bug in Corr.show comp option fixed.
2022-08-12 11:03:36 +01:00
Fabian Joswig
f1636310a1
style: New flake8 E275 errors fixed.
2022-08-01 16:53:12 +01:00
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