mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
feat: Exception added if Corr.GEVP is called on single correlator
instead of a correlator matrix.
This commit is contained in:
parent
a6deb52a04
commit
77f0fbf699
1 changed files with 4 additions and 0 deletions
|
@ -259,6 +259,10 @@ class Corr:
|
|||
"Eigenvector" - Use the method described in arXiv:2004.10472 [hep-lat] to find the set of v(t) belonging to the state.
|
||||
The reference state is identified by its eigenvalue at t=ts
|
||||
"""
|
||||
|
||||
if self.N == 1:
|
||||
raise Exception("GEVP methods only works on correlator matrices and not single correlators.")
|
||||
|
||||
symmetric_corr = self.matrix_symmetric()
|
||||
if sorted_list is None:
|
||||
if (ts is None):
|
||||
|
|
Loading…
Add table
Reference in a new issue