From dd6709a51686d6ff09c4803afccc75dfe387fe1d Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Fri, 24 Jun 2016 22:45:49 +0200 Subject: [PATCH] Adapt generate_prod3_irf example script to test data. --- .gitignore | 1 + examples/generate_prod3_irfs.py | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 6412944..ecb9f76 100644 --- a/.gitignore +++ b/.gitignore @@ -72,6 +72,7 @@ src/ctulimit/ctulimit src/cterror/cterror test/pfiles/ test/caldb/ +test/prod3 test/csroot2caldb_* test/iactdata_* test/*.fits diff --git a/examples/generate_prod3_irfs.py b/examples/generate_prod3_irfs.py index 15e4a91..174d318 100755 --- a/examples/generate_prod3_irfs.py +++ b/examples/generate_prod3_irfs.py @@ -27,7 +27,12 @@ import cscripts # ======================= # def set_prod3_desy(): """ - Set Prod3 DESY database. + Set Prod3 DESY database + + This function sets the calibration database. By adding dictionaries to + the db list a number of calibrations can be defined for which IRFs + should be generated. All calibrations will be added to the calibration + database. """ # Set database attributes #path = '/project-data/cta/performance/prod3' @@ -36,7 +41,8 @@ def set_prod3_desy(): file = 'irf.root' psftype = 'Gauss' oversample = 3 - norm1d = True + #norm1d = True # Will normalise the on-axis 2D IRFs on the 1D IRFs + norm1d = False bgdinfill = False bgdethres = 10.0 -- libgit2 0.21.4