Commit 483edf0eb4ff3ccedb3c202adc9f89897812dbb7
1 parent
07c6a225
Change default calibration database to "dummy"
Showing
1 changed file
with
2 additions
and
2 deletions
scripts/obsutils.py
| ... | ... | @@ -279,7 +279,7 @@ def modmap(obs, eref=0.1, proj="TAN", coord="GAL", xval=0.0, yval=0.0, \ |
| 279 | 279 | # ======================= # |
| 280 | 280 | def set(pntdir, tstart=0.0, duration=1800.0, deadc=0.95, \ |
| 281 | 281 | emin=0.1, emax=100.0, rad=5.0, \ |
| 282 | - irf="cta_dummy_irf", caldb="$CTOOLS/share/caldb/data/cta/dummy"): | |
| 282 | + irf="cta_dummy_irf", caldb="dummy"): | |
| 283 | 283 | """ |
| 284 | 284 | Returns a single CTA observation. By looping over this function we can |
| 285 | 285 | add CTA observations to the observation container. |
| ... | ... | @@ -294,7 +294,7 @@ def set(pntdir, tstart=0.0, duration=1800.0, deadc=0.95, \ |
| 294 | 294 | emax - Maximum event energy [TeV] (default: 100.0) |
| 295 | 295 | rad - ROI radius used for analysis [deg] (default: 5.0) |
| 296 | 296 | irf - Instrument response function (default: cta_dummy_irf) |
| 297 | - caldb - Calibration database path (default: "") | |
| 297 | + caldb - Calibration database path (default: "dummy") | |
| 298 | 298 | """ |
| 299 | 299 | # Allocate CTA observation |
| 300 | 300 | obs = gammalib.GCTAObservation() | ... | ... |