Commit fb633b7c38134406168cc039dc0da988183e9f48
1 parent
5d774bbb
Adapt unit tests to new COMPTEL IAQ names in the calibration database
Showing
4 changed files
with
4 additions
and
4 deletions
inst/com/test/caldb/data/cgro/comptel/caldb.indx
No preview for this file type
inst/com/test/data/obs.xml
| ... | ... | @@ -5,6 +5,6 @@ |
| 5 | 5 | <parameter name="DRB" file="m34997_drg.fits"/> |
| 6 | 6 | <parameter name="DRG" file="m34997_drg.fits"/> |
| 7 | 7 | <parameter name="DRX" file="m32171_drx.fits"/> |
| 8 | - <parameter name="IAQ" value="UNH(1.0-3.0)MeV"/> | |
| 8 | + <parameter name="IAQ" value="SIM2(1.00-3.00)MeV(2)deg"/> | |
| 9 | 9 | </observation> |
| 10 | 10 | </observation_list> | ... | ... |
inst/com/test/test_COM.cpp
| ... | ... | @@ -41,7 +41,7 @@ |
| 41 | 41 | /* __ Constants __________________________________________________________ */ |
| 42 | 42 | const std::string datadir = std::getenv("TEST_COM_DATA"); |
| 43 | 43 | const std::string com_caldb = datadir + "/../../caldb"; |
| 44 | -const std::string com_iaq = "UNH(1.0-3.0)MeV"; // 1-3 MeV | |
| 44 | +const std::string com_iaq = "SIM2(1.00-3.00)MeV(2)deg"; // 1-3 MeV | |
| 45 | 45 | const std::string com_dre = datadir+"/m50439_dre.fits"; // 1-3 MeV |
| 46 | 46 | const std::string com_drb = datadir+"/m34997_drg.fits"; |
| 47 | 47 | const std::string com_drg = datadir+"/m34997_drg.fits"; | ... | ... |
inst/com/test/test_COM.py
| ... | ... | @@ -156,7 +156,7 @@ class Test(gammalib.GPythonTestSuite): |
| 156 | 156 | test_support.pickeling(self, gammalib.GCOMBvc(bvc)) |
| 157 | 157 | test_support.pickeling(self, gammalib.GCOMBvcs(bvcs)) |
| 158 | 158 | test_support.pickeling(self, gammalib.GCOMObservation(obs[0])) |
| 159 | - test_support.pickeling(self, gammalib.GCOMResponse(caldb, 'UNH(1.0-3.0)MeV')) | |
| 159 | + test_support.pickeling(self, gammalib.GCOMResponse(caldb, 'SIM2(1.00-3.00)MeV(2)deg')) | |
| 160 | 160 | test_support.pickeling(self, gammalib.GCOMRoi(instdir, 10.0, 1.0, 5.0)) |
| 161 | 161 | #test_support.pickeling(self, gammalib.GCOMSelection()) |
| 162 | 162 | #test_support.pickeling(self, gammalib.GCOMStatus()) | ... | ... |