mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02:00
T_symmetry test added
This commit is contained in:
parent
1990a0685b
commit
d9f4e5b453
2 changed files with 6 additions and 1 deletions
|
@ -54,6 +54,11 @@ def test_m_eff():
|
|||
my_corr.m_eff('cosh')
|
||||
my_corr.m_eff('sinh')
|
||||
|
||||
def test_T_symmetry():
|
||||
my_corr = pe.correlators.Corr([pe.pseudo_Obs(10, 0.1, 't'), pe.pseudo_Obs(0, 0.05, 't')])
|
||||
with pytest.warns(RuntimeWarning):
|
||||
T_symmetric = my_corr.T_symmetry(my_corr)
|
||||
|
||||
def test_utility():
|
||||
corr_content = []
|
||||
for t in range(8):
|
||||
|
|
|
@ -64,7 +64,7 @@ def test_matrix_inverse():
|
|||
|
||||
|
||||
def test_complex_matrix_inverse():
|
||||
dimension = 6
|
||||
dimension = 4
|
||||
base_matrix = np.empty((dimension, dimension), dtype=object)
|
||||
matrix = np.empty((dimension, dimension), dtype=complex)
|
||||
for (n, m), entry in np.ndenumerate(base_matrix):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue