def test_clarsach_rmf(self): arf_c = ARF(self.arffile) rmf_c = RMF(self.rmffile) m_arf_c = arf_c.apply_arf(self.m, self.exposure) m_rmf_c = rmf_c.apply_rmf(m_arf_c) assert np.allclose(self.sherpa_rmf, m_rmf_c)
def test_clarsach_arf(self): arf_c = ARF(self.arffile) m_arf_c = arf_c.apply_arf(self.m) assert np.allclose(self.sherpa_arf, m_arf_c, rtol=1e-6, atol=1e-6)
def test_clarsach_arf(self): arf_c = ARF(self.arffile) m_arf_c = arf_c.apply_arf(self.m, exposure=self.exposure) assert np.allclose(self.sherpa_arf, m_arf_c)