From b2ed3f254233d223dcd40a72cac6729d454010a2 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Mon, 9 Mar 2015 17:02:54 +0100 Subject: [PATCH] Only save a single background histogram --- scripts/cta_root2caldb.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/cta_root2caldb.py b/scripts/cta_root2caldb.py index 614f964..134c251 100755 --- a/scripts/cta_root2caldb.py +++ b/scripts/cta_root2caldb.py @@ -1363,7 +1363,6 @@ class caldb(): histograms are used: BGRatePerSqDeg_offaxis -> BGD - BGRatePerSqDeg_offaxis -> BGD_RECO Parameters: file - ROOT file. @@ -1384,11 +1383,8 @@ class caldb(): self.set_cif_keywords(self.hdu_bgd, self.bgd_name, \ self.bgd_bounds, self.bgd_desc) - # BGD + # BGD (reconstructed energy) self.make_3D(array, self.hdu_bgd, "BGD", "1/s/MeV/sr", scale=bgdscale) - - # BGD_RECO - self.make_3D(array, self.hdu_bgd, "BGD_RECO", "1/s/MeV/sr", scale=bgdscale) # Return return -- libgit2 0.21.4