From 39d84cd0f60d4aa9814bae93c013fa8d12f4872a Mon Sep 17 00:00:00 2001 From: Matteo Bachetti Date: Mon, 19 Feb 2024 14:47:15 +0100 Subject: [PATCH] Fix values of energy --- stingray/tests/test_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stingray/tests/test_io.py b/stingray/tests/test_io.py index fd9d41ca3..417c0dd6b 100644 --- a/stingray/tests/test_io.py +++ b/stingray/tests/test_io.py @@ -197,4 +197,4 @@ def test_calibrate_spectrum(self): pis = np.array([1, 2, 3]) energies = pi_to_energy(pis, self.rmf) - assert np.allclose(energies, [1.64, 1.68, 1.72]) + assert np.allclose(energies, [1.66, 1.70, 1.74])