Skip to content

Commit

Permalink
Fix values of energy
Browse files Browse the repository at this point in the history
  • Loading branch information
matteobachetti committed Feb 20, 2024
1 parent 2629c67 commit 39d84cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stingray/tests/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])

0 comments on commit 39d84cd

Please sign in to comment.