Commit e1b6f032b8f3b0ac74992fdd07fae17331653c5a
1 parent
be4028fd
Use CTA dummy IRF and background model.
Showing
3 changed files
with
13 additions
and
13 deletions
test/test_cscripts.sh.in
| ... | ... | @@ -2,7 +2,7 @@ |
| 2 | 2 | # ========================================================================== |
| 3 | 3 | # This script tests all cscripts that are shipped with ctools |
| 4 | 4 | # |
| 5 | -# Copyright (C) 2011-2012 Juergen Knoedlseder | |
| 5 | +# Copyright (C) 2011-2013 Juergen Knoedlseder | |
| 6 | 6 | # |
| 7 | 7 | # This program is free software: you can redistribute it and/or modify |
| 8 | 8 | # it under the terms of the GNU General Public License as published by |
| ... | ... | @@ -56,7 +56,7 @@ chmod +x @abs_top_srcdir@/scripts/cspull.py |
| 56 | 56 | outfile="pull.dat" \ |
| 57 | 57 | ntrials="3" \ |
| 58 | 58 | caldb="irf" \ |
| 59 | - irf="kb_E_50h_v3" \ | |
| 59 | + irf="cta_dummy_irf" \ | |
| 60 | 60 | ra=83.6331 \ |
| 61 | 61 | dec=22.0145 \ |
| 62 | 62 | emin=0.1 \ |
| ... | ... | @@ -86,10 +86,10 @@ $ECHO " ok" |
| 86 | 86 | #@abs_top_srcdir@/scripts/cssens.py \ |
| 87 | 87 | # duration=3600.0 \ |
| 88 | 88 | # caldb="irf" \ |
| 89 | -# irf="kb_E_50h_v3" \ | |
| 89 | +# irf="cta_dummy_irf" \ | |
| 90 | 90 | # type="point" \ |
| 91 | 91 | # offset="0.0" \ |
| 92 | -# bkg="data/bkg_kb_E_50h_v3.txt" \ | |
| 92 | +# bkg="data/bkg_dummy.txt" \ | |
| 93 | 93 | # rad=5.0 > cssens.log |
| 94 | 94 | #echo -n "." |
| 95 | 95 | #if [ -s "sensitivity.dat" ] |
| ... | ... | @@ -111,10 +111,10 @@ chmod +x @abs_top_srcdir@/scripts/cstsdist.py |
| 111 | 111 | outfile="ts.dat" \ |
| 112 | 112 | ntrials="1" \ |
| 113 | 113 | caldb="irf" \ |
| 114 | - irf="kb_E_50h_v3" \ | |
| 114 | + irf="cta_dummy_irf" \ | |
| 115 | 115 | type="point" \ |
| 116 | 116 | offset="0.0" \ |
| 117 | - bkg="data/bkg_kb_E_50h_v3.txt" \ | |
| 117 | + bkg="data/bkg_dummy.txt" \ | |
| 118 | 118 | emin=0.1 \ |
| 119 | 119 | emax=100.0 \ |
| 120 | 120 | enumbins=0 \ | ... | ... |
test/test_ctools.sh
| ... | ... | @@ -64,7 +64,7 @@ $ECHO -n "Test ctobssim: " |
| 64 | 64 | $ctobssim infile="data/crab.xml" \ |
| 65 | 65 | outfile="events.fits" \ |
| 66 | 66 | caldb="irf" \ |
| 67 | - irf="kb_E_50h_v3" \ | |
| 67 | + irf="cta_dummy_irf" \ | |
| 68 | 68 | ra=83.63 \ |
| 69 | 69 | dec=22.01 \ |
| 70 | 70 | rad=10.0 \ |
| ... | ... | @@ -145,7 +145,7 @@ $ECHO -n "Test ctmodel: " |
| 145 | 145 | $ctmodel infile="cntmap.fits" \ |
| 146 | 146 | outfile="modmap1.fits" \ |
| 147 | 147 | caldb="irf" \ |
| 148 | - irf="kb_E_50h_v3" \ | |
| 148 | + irf="cta_dummy_irf" \ | |
| 149 | 149 | srcmdl="data/crab.xml" |
| 150 | 150 | $ECHO -n "." |
| 151 | 151 | if [ -s "modmap1.fits" ] |
| ... | ... | @@ -160,7 +160,7 @@ fi |
| 160 | 160 | $ctmodel infile="NONE" \ |
| 161 | 161 | outfile="modmap2.fits" \ |
| 162 | 162 | caldb="irf" \ |
| 163 | - irf="kb_E_50h_v3" \ | |
| 163 | + irf="cta_dummy_irf" \ | |
| 164 | 164 | srcmdl="data/crab.xml" \ |
| 165 | 165 | ra=83.63 \ |
| 166 | 166 | dec=22.01 \ |
| ... | ... | @@ -219,7 +219,7 @@ $ctlike infile="cntmap.fits" \ |
| 219 | 219 | srcmdl="data/crab.xml" \ |
| 220 | 220 | outmdl="results_binned.xml" \ |
| 221 | 221 | caldb="irf" \ |
| 222 | - irf="kb_E_50h_v3" | |
| 222 | + irf="cta_dummy_irf" | |
| 223 | 223 | $ECHO -n "." |
| 224 | 224 | if [ -s "results_binned.xml" ] |
| 225 | 225 | then |
| ... | ... | @@ -232,7 +232,7 @@ $ctlike infile="selected_events.fits" \ |
| 232 | 232 | srcmdl="data/crab.xml" \ |
| 233 | 233 | outmdl="results_unbinned.xml" \ |
| 234 | 234 | caldb="irf" \ |
| 235 | - irf="kb_E_50h_v3" | |
| 235 | + irf="cta_dummy_irf" | |
| 236 | 236 | $ECHO -n "." |
| 237 | 237 | if [ -s "results_unbinned.xml" ] |
| 238 | 238 | then | ... | ... |
test/test_python.py
| ... | ... | @@ -44,7 +44,7 @@ def pipeline_v1(): |
| 44 | 44 | selected_events_name = "selected_events.fits" |
| 45 | 45 | result_name = "results.xml" |
| 46 | 46 | caldb = "irf" |
| 47 | - irf = "kb_E_50h_v3" | |
| 47 | + irf = "cta_dummy_irf" | |
| 48 | 48 | ra = 83.63 |
| 49 | 49 | dec = 22.01 |
| 50 | 50 | rad_sim = 10.0 |
| ... | ... | @@ -119,7 +119,7 @@ def pipeline_v2(): |
| 119 | 119 | # Set script parameters |
| 120 | 120 | model_name = "data/crab.xml" |
| 121 | 121 | caldb = "irf" |
| 122 | - irf = "kb_E_50h_v3" | |
| 122 | + irf = "cta_dummy_irf" | |
| 123 | 123 | ra = 83.63 |
| 124 | 124 | dec = 22.01 |
| 125 | 125 | rad_sim = 10.0 | ... | ... |