From 913f8b5eb0839f6b5cac95ae931122f61f65f9d5 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Wed, 10 Apr 2013 22:20:25 +0200 Subject: [PATCH] Use CTA dummy IRF. --- examples/make_binned_analysis.py | 4 ++-- examples/make_pull_at_sensitivity_limit.py | 2 +- examples/make_ts_distributions.py | 4 ++-- examples/make_unbinned_analysis.py | 4 ++-- test/example_models.py | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/make_binned_analysis.py b/examples/make_binned_analysis.py index d5f0008..e33b803 100755 --- a/examples/make_binned_analysis.py +++ b/examples/make_binned_analysis.py @@ -51,7 +51,7 @@ def pipeline_v1(): cntmap_name = "cntmap.fits" result_name = "results.xml" caldb = "${GAMMALIB}/share/caldb/cta" - irf = "kb_E_50h_v3" + irf = "cta_dummy_irf" ra = 83.63 dec = 22.01 rad_sim = 10.0 @@ -152,7 +152,7 @@ def pipeline_v2(): # Set script parameters model_name = "${GAMMALIB}/share/models/crab.xml" caldb = "${GAMMALIB}/share/caldb/cta" - irf = "kb_E_50h_v3" + irf = "cta_dummy_irf" ra = 83.63 dec = 22.01 rad_sim = 10.0 diff --git a/examples/make_pull_at_sensitivity_limit.py b/examples/make_pull_at_sensitivity_limit.py index 6b783bc..f7e99e0 100755 --- a/examples/make_pull_at_sensitivity_limit.py +++ b/examples/make_pull_at_sensitivity_limit.py @@ -62,7 +62,7 @@ def create_pull(loge, emin, emax, models, ntrials=100, duration=180000.0, \ pull["outfile"] = outfile pull["ntrials"] = ntrials pull["caldb"] = "$GAMMALIB/share/caldb/cta" - pull["irf"] = "kb_E_50h_v3" + pull["irf"] = "cta_dummy_irf" pull["ra"] = 83.6331 pull["dec"] = 22.0145 pull["emin"] = emin diff --git a/examples/make_ts_distributions.py b/examples/make_ts_distributions.py index f5ac0e7..546356c 100755 --- a/examples/make_ts_distributions.py +++ b/examples/make_ts_distributions.py @@ -66,11 +66,11 @@ def create_ts(loge, emin, emax, ntrials=100, duration=180000.0, \ tsdist["outfile"] = outfile tsdist["ntrials"] = ntrials tsdist["caldb"] = "$GAMMALIB/share/caldb/cta" - tsdist["irf"] = "kb_E_50h_v3" + tsdist["irf"] = "cta_dummy_irf" tsdist["type"] = "point" tsdist["index"] = -2.48 tsdist["offset"] = 0.0 - tsdist["bkg"] = "$GAMMALIB/share/models/bkg_kb_E_50h_v3.txt" + tsdist["bkg"] = "$GAMMALIB/share/models/bkg_dummy.txt" tsdist["emin"] = float(emin) tsdist["emax"] = float(emax) tsdist["enumbins"] = int(enumbins) diff --git a/examples/make_unbinned_analysis.py b/examples/make_unbinned_analysis.py index 927d4c0..b58cffe 100755 --- a/examples/make_unbinned_analysis.py +++ b/examples/make_unbinned_analysis.py @@ -54,7 +54,7 @@ def pipeline_v1(): selected_events_name = "selected_events.fits" result_name = "results.xml" caldb = "${GAMMALIB}/share/caldb/cta" - irf = "kb_E_50h_v3" + irf = "cta_dummy_irf" ra = 83.63 dec = 22.01 rad_sim = 10.0 @@ -145,7 +145,7 @@ def pipeline_v2(show_data): # Set script parameters model_name = "${GAMMALIB}/share/models/crab.xml" caldb = "${GAMMALIB}/share/caldb/cta" - irf = "kb_E_50h_v3" + irf = "cta_dummy_irf" ra = 83.63 dec = 22.01 rad_sim = 10.0 diff --git a/test/example_models.py b/test/example_models.py index 05b4d71..5a31dbe 100755 --- a/test/example_models.py +++ b/test/example_models.py @@ -40,7 +40,7 @@ def pipeline(model_name): """ # Set script parameters caldb = "irf" - irf = "kb_E_50h_v3" + irf = "cta_dummy_irf" ra = 83.63 dec = 22.01 rad_sim = 10.0 -- libgit2 0.21.4