From 74bf8907fa7708d0e1cb5f9ad8e95295b79c9f63 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Fri, 22 May 2015 16:23:54 +0200 Subject: [PATCH] Use Prod2 response functions --- NEWS | 7 ++++--- src/ctbutterfly/ctbutterfly.par | 4 ++-- src/ctexpcube/ctexpcube.par | 4 ++-- src/ctlike/ctlike.par | 4 ++-- src/ctmodel/ctmodel.par | 4 ++-- src/ctobssim/ctobssim.par | 4 ++-- src/ctpsfcube/ctpsfcube.par | 4 ++-- src/cttsmap/cttsmap.par | 4 ++-- src/ctulimit/ctulimit.par | 4 ++-- 9 files changed, 20 insertions(+), 19 deletions(-) diff --git a/NEWS b/NEWS index cf5c4c1..991de31 100644 --- a/NEWS +++ b/NEWS @@ -1,8 +1,8 @@ -New Features and Important Changes in ctools 1.0.0 +New Features and Important Changes in ctools 0.9.0 Author(s) : Juergen Knoedlseder -20 May 2015 +22 May 2015 1. Introduction @@ -141,7 +141,8 @@ actually returns the differential flux for a given set of energies. 20. caldb --------- -None +Official Prod2 instrument response functions for the Southern and Northern +array have been added. 21. models diff --git a/src/ctbutterfly/ctbutterfly.par b/src/ctbutterfly/ctbutterfly.par index 2d5e224..7432812 100644 --- a/src/ctbutterfly/ctbutterfly.par +++ b/src/ctbutterfly/ctbutterfly.par @@ -23,8 +23,8 @@ srcname, s, a, "Crab",,,"Source of interest" expcube, f, a, "NONE",,, "Exposure cube file (only needed for stacked analysis)" psfcube, f, a, "NONE",,, "PSF cube file (only needed for stacked analysis)" bkgcube, f, a, "NONE",,, "Background cube file (only needed for stacked analysis)" -caldb, s, a, "dummy",,, "Calibration database" -irf, s, a, "cta_dummy_irf",,, "Instrument response function" +caldb, s, a, "prod2",,, "Calibration database" +irf, s, a, "South_50h",,, "Instrument response function" outfile, f, a, "butterfly.txt",,, "Output ascii file" matrix, f, h, "NONE",,, "Input covariance Matrix FITS file" diff --git a/src/ctexpcube/ctexpcube.par b/src/ctexpcube/ctexpcube.par index d4381ef..bce8ab6 100644 --- a/src/ctexpcube/ctexpcube.par +++ b/src/ctexpcube/ctexpcube.par @@ -20,8 +20,8 @@ inobs, f, a, "NONE",,, "Event list or observation definition file" incube, f, a, "NONE",,, "Counts cube for exposure cube definition" outcube, f, a, "expcube.fits",,, "Output exposure cube file" -caldb, s, a, "dummy",,, "Calibration database" -irf, s, a, "cta_dummy_irf",,, "Instrument response function" +caldb, s, a, "prod2",,, "Calibration database" +irf, s, a, "South_50h",,, "Instrument response function" edisp, b, h, no,,, "Apply energy dispersion?" # # Energy binning parameters diff --git a/src/ctlike/ctlike.par b/src/ctlike/ctlike.par index 9cf0136..5ae14f0 100644 --- a/src/ctlike/ctlike.par +++ b/src/ctlike/ctlike.par @@ -22,8 +22,8 @@ inmodel, f, a, "$CTOOLS/share/models/crab.xml",,, "Source model" expcube, f, a, "NONE",,, "Exposure cube file (only needed for stacked analysis)" psfcube, f, a, "NONE",,, "PSF cube file (only needed for stacked analysis)" bkgcube, f, a, "NONE",,, "Background cube file (only needed for stacked analysis)" -caldb, s, a, "dummy",,, "Calibration database" -irf, s, a, "cta_dummy_irf",,, "Instrument response function" +caldb, s, a, "prod2",,, "Calibration database" +irf, s, a, "South_50h",,, "Instrument response function" outmodel, f, a, "crab_results.xml",,, "Source model output file" stat, s, h, "POISSON",,, "Optimization statistics" edisp, b, h, no,,, "Apply energy dispersion?" diff --git a/src/ctmodel/ctmodel.par b/src/ctmodel/ctmodel.par index 9506397..f0f6265 100644 --- a/src/ctmodel/ctmodel.par +++ b/src/ctmodel/ctmodel.par @@ -28,8 +28,8 @@ inobs, f, a, "NONE",,, "Event list, counts cube or observation definition fil expcube, f, a, "NONE",,, "Exposure cube file (only needed for stacked analysis)" psfcube, f, a, "NONE",,, "PSF cube file (only needed for stacked analysis)" bkgcube, f, a, "NONE",,, "Background cube file (only needed for stacked analysis)" -caldb, s, a, "dummy",,, "Calibration database" -irf, s, a, "cta_dummy_irf",,, "Instrument response function" +caldb, s, a, "prod2",,, "Calibration database" +irf, s, a, "South_50h",,, "Instrument response function" ra, r, a, 83.63,0,360, "RA of pointing (degrees)" dec, r, a, 22.01,-90,90, "Dec of pointing (degrees)" rad, r, a, 5.0,0,180, "Radius of FOV (degrees)" diff --git a/src/ctobssim/ctobssim.par b/src/ctobssim/ctobssim.par index 548e595..71359c0 100644 --- a/src/ctobssim/ctobssim.par +++ b/src/ctobssim/ctobssim.par @@ -24,8 +24,8 @@ prefix, s, h, "sim_events_",,, "Prefix for event lists in observation definit # # Observation parameters #======================= -caldb, s, a, "dummy",,, "Calibration database" -irf, s, a, "cta_dummy_irf",,, "Instrument response function" +caldb, s, a, "prod2",,, "Calibration database" +irf, s, a, "South_50h",,, "Instrument response function" # # Simulation parameters #====================== diff --git a/src/ctpsfcube/ctpsfcube.par b/src/ctpsfcube/ctpsfcube.par index 8f1d9a2..8002221 100644 --- a/src/ctpsfcube/ctpsfcube.par +++ b/src/ctpsfcube/ctpsfcube.par @@ -20,8 +20,8 @@ inobs, f, a, "NONE",,, "Event list or observation definition file" incube, f, a, "NONE",,, "Counts cube for psf cube definition" outcube, f, a, "psfcube.fits",,, "Output psf cube file" -caldb, s, a, "dummy",,, "Calibration database" -irf, s, a, "cta_dummy_irf",,, "Instrument response function" +caldb, s, a, "prod2",,, "Calibration database" +irf, s, a, "South_50h",,, "Instrument response function" edisp, b, h, no,,, "Apply energy dispersion?" # # Energy binning parameters diff --git a/src/cttsmap/cttsmap.par b/src/cttsmap/cttsmap.par index ffe2699..9343ea4 100644 --- a/src/cttsmap/cttsmap.par +++ b/src/cttsmap/cttsmap.par @@ -23,8 +23,8 @@ srcname, s, a, "Crab",,, "Test source" expcube, f, a, "NONE",,, "Exposure cube file (only needed for stacked analysis)" psfcube, f, a, "NONE",,, "PSF cube file (only needed for stacked analysis)" bkgcube, f, a, "NONE",,, "Background cube file (only needed for stacked analysis)" -caldb, s, a, "dummy",,, "Calibration database" -irf, s, a, "cta_dummy_irf",,, "Instrument response function" +caldb, s, a, "prod2",,, "Calibration database" +irf, s, a, "South_50h",,, "Instrument response function" outmap, f, a, "tsmap.fits",,, "Output Test Statistic map" # diff --git a/src/ctulimit/ctulimit.par b/src/ctulimit/ctulimit.par index a577450..e135d2c 100644 --- a/src/ctulimit/ctulimit.par +++ b/src/ctulimit/ctulimit.par @@ -23,8 +23,8 @@ srcname, s, a, "Crab",,, "Source of interest" expcube, f, a, "NONE",,, "Exposure cube file (only needed for stacked analysis)" psfcube, f, a, "NONE",,, "PSF cube file (only needed for stacked analysis)" bkgcube, f, a, "NONE",,, "Background cube file (only needed for stacked analysis)" -caldb, s, a, "dummy",,, "Calibration database" -irf, s, a, "cta_dummy_irf",,, "Instrument response function" +caldb, s, a, "prod2",,, "Calibration database" +irf, s, a, "South_50h",,, "Instrument response function" # # Upper limit calculation parameters -- libgit2 0.21.4