Skip to content

Commit

Permalink
only 5 strongest eve and eva
Browse files Browse the repository at this point in the history
  • Loading branch information
adku1173 committed Nov 6, 2024
1 parent 4bfe108 commit d16d78d
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 2 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions tests/regression/test_spectra.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def test_eva(freq_data, snapshot, ind):
ind : tuple
frequency indices to test
"""
snapshot.check(freq_data.eva[ind, :].astype(np.float32), rtol=5e-5, atol=1e-8)
snapshot.check(freq_data.eva[ind, :-5].astype(np.float32), rtol=5e-5, atol=1e-8)


@pytest.mark.parametrize('ind', [16, 32])
Expand All @@ -92,4 +92,4 @@ def test_eve(freq_data, snapshot, ind):
ind : tuple
frequency indices to test
"""
snapshot.check(np.abs(freq_data.eve[ind, :, :].astype(np.complex64)), rtol=5e-5, atol=1e-8)
snapshot.check(freq_data.eve[ind, :-5, :].astype(np.complex64), rtol=5e-5, atol=1e-8)

0 comments on commit d16d78d

Please sign in to comment.