Commit 74bf8907fa7708d0e1cb5f9ad8e95295b79c9f63

Authored by Jürgen Knödlseder
1 parent 5edcd48e

Use Prod2 response functions

1 -New Features and Important Changes in ctools 1.0.0 1 +New Features and Important Changes in ctools 0.9.0
2 2
3 Author(s) : Juergen Knoedlseder 3 Author(s) : Juergen Knoedlseder
4 4
5 -20 May 2015 5 +22 May 2015
6 6
7 7
8 1. Introduction 8 1. Introduction
@@ -141,7 +141,8 @@ actually returns the differential flux for a given set of energies. @@ -141,7 +141,8 @@ actually returns the differential flux for a given set of energies.
141 141
142 20. caldb 142 20. caldb
143 --------- 143 ---------
144 -None 144 +Official Prod2 instrument response functions for the Southern and Northern
  145 +array have been added.
145 146
146 147
147 21. models 148 21. models
src/ctbutterfly/ctbutterfly.par
@@ -23,8 +23,8 @@ srcname, s, a, "Crab",,,"Source of interest" @@ -23,8 +23,8 @@ srcname, s, a, "Crab",,,"Source of interest"
23 expcube, f, a, "NONE",,, "Exposure cube file (only needed for stacked analysis)" 23 expcube, f, a, "NONE",,, "Exposure cube file (only needed for stacked analysis)"
24 psfcube, f, a, "NONE",,, "PSF cube file (only needed for stacked analysis)" 24 psfcube, f, a, "NONE",,, "PSF cube file (only needed for stacked analysis)"
25 bkgcube, f, a, "NONE",,, "Background cube file (only needed for stacked analysis)" 25 bkgcube, f, a, "NONE",,, "Background cube file (only needed for stacked analysis)"
26 -caldb, s, a, "dummy",,, "Calibration database"  
27 -irf, s, a, "cta_dummy_irf",,, "Instrument response function" 26 +caldb, s, a, "prod2",,, "Calibration database"
  27 +irf, s, a, "South_50h",,, "Instrument response function"
28 outfile, f, a, "butterfly.txt",,, "Output ascii file" 28 outfile, f, a, "butterfly.txt",,, "Output ascii file"
29 matrix, f, h, "NONE",,, "Input covariance Matrix FITS file" 29 matrix, f, h, "NONE",,, "Input covariance Matrix FITS file"
30 30
src/ctexpcube/ctexpcube.par
@@ -20,8 +20,8 @@ @@ -20,8 +20,8 @@
20 inobs, f, a, "NONE",,, "Event list or observation definition file" 20 inobs, f, a, "NONE",,, "Event list or observation definition file"
21 incube, f, a, "NONE",,, "Counts cube for exposure cube definition" 21 incube, f, a, "NONE",,, "Counts cube for exposure cube definition"
22 outcube, f, a, "expcube.fits",,, "Output exposure cube file" 22 outcube, f, a, "expcube.fits",,, "Output exposure cube file"
23 -caldb, s, a, "dummy",,, "Calibration database"  
24 -irf, s, a, "cta_dummy_irf",,, "Instrument response function" 23 +caldb, s, a, "prod2",,, "Calibration database"
  24 +irf, s, a, "South_50h",,, "Instrument response function"
25 edisp, b, h, no,,, "Apply energy dispersion?" 25 edisp, b, h, no,,, "Apply energy dispersion?"
26 # 26 #
27 # Energy binning parameters 27 # Energy binning parameters
src/ctlike/ctlike.par
@@ -22,8 +22,8 @@ inmodel, f, a, "$CTOOLS/share/models/crab.xml",,, "Source model" @@ -22,8 +22,8 @@ inmodel, f, a, "$CTOOLS/share/models/crab.xml",,, "Source model"
22 expcube, f, a, "NONE",,, "Exposure cube file (only needed for stacked analysis)" 22 expcube, f, a, "NONE",,, "Exposure cube file (only needed for stacked analysis)"
23 psfcube, f, a, "NONE",,, "PSF cube file (only needed for stacked analysis)" 23 psfcube, f, a, "NONE",,, "PSF cube file (only needed for stacked analysis)"
24 bkgcube, f, a, "NONE",,, "Background cube file (only needed for stacked analysis)" 24 bkgcube, f, a, "NONE",,, "Background cube file (only needed for stacked analysis)"
25 -caldb, s, a, "dummy",,, "Calibration database"  
26 -irf, s, a, "cta_dummy_irf",,, "Instrument response function" 25 +caldb, s, a, "prod2",,, "Calibration database"
  26 +irf, s, a, "South_50h",,, "Instrument response function"
27 outmodel, f, a, "crab_results.xml",,, "Source model output file" 27 outmodel, f, a, "crab_results.xml",,, "Source model output file"
28 stat, s, h, "POISSON",,, "Optimization statistics" 28 stat, s, h, "POISSON",,, "Optimization statistics"
29 edisp, b, h, no,,, "Apply energy dispersion?" 29 edisp, b, h, no,,, "Apply energy dispersion?"
src/ctmodel/ctmodel.par
@@ -28,8 +28,8 @@ inobs, f, a, "NONE",,, "Event list, counts cube or observation definition fil @@ -28,8 +28,8 @@ inobs, f, a, "NONE",,, "Event list, counts cube or observation definition fil
28 expcube, f, a, "NONE",,, "Exposure cube file (only needed for stacked analysis)" 28 expcube, f, a, "NONE",,, "Exposure cube file (only needed for stacked analysis)"
29 psfcube, f, a, "NONE",,, "PSF cube file (only needed for stacked analysis)" 29 psfcube, f, a, "NONE",,, "PSF cube file (only needed for stacked analysis)"
30 bkgcube, f, a, "NONE",,, "Background cube file (only needed for stacked analysis)" 30 bkgcube, f, a, "NONE",,, "Background cube file (only needed for stacked analysis)"
31 -caldb, s, a, "dummy",,, "Calibration database"  
32 -irf, s, a, "cta_dummy_irf",,, "Instrument response function" 31 +caldb, s, a, "prod2",,, "Calibration database"
  32 +irf, s, a, "South_50h",,, "Instrument response function"
33 ra, r, a, 83.63,0,360, "RA of pointing (degrees)" 33 ra, r, a, 83.63,0,360, "RA of pointing (degrees)"
34 dec, r, a, 22.01,-90,90, "Dec of pointing (degrees)" 34 dec, r, a, 22.01,-90,90, "Dec of pointing (degrees)"
35 rad, r, a, 5.0,0,180, "Radius of FOV (degrees)" 35 rad, r, a, 5.0,0,180, "Radius of FOV (degrees)"
src/ctobssim/ctobssim.par
@@ -24,8 +24,8 @@ prefix, s, h, "sim_events_",,, "Prefix for event lists in observation definit @@ -24,8 +24,8 @@ prefix, s, h, "sim_events_",,, "Prefix for event lists in observation definit
24 # 24 #
25 # Observation parameters 25 # Observation parameters
26 #======================= 26 #=======================
27 -caldb, s, a, "dummy",,, "Calibration database"  
28 -irf, s, a, "cta_dummy_irf",,, "Instrument response function" 27 +caldb, s, a, "prod2",,, "Calibration database"
  28 +irf, s, a, "South_50h",,, "Instrument response function"
29 # 29 #
30 # Simulation parameters 30 # Simulation parameters
31 #====================== 31 #======================
src/ctpsfcube/ctpsfcube.par
@@ -20,8 +20,8 @@ @@ -20,8 +20,8 @@
20 inobs, f, a, "NONE",,, "Event list or observation definition file" 20 inobs, f, a, "NONE",,, "Event list or observation definition file"
21 incube, f, a, "NONE",,, "Counts cube for psf cube definition" 21 incube, f, a, "NONE",,, "Counts cube for psf cube definition"
22 outcube, f, a, "psfcube.fits",,, "Output psf cube file" 22 outcube, f, a, "psfcube.fits",,, "Output psf cube file"
23 -caldb, s, a, "dummy",,, "Calibration database"  
24 -irf, s, a, "cta_dummy_irf",,, "Instrument response function" 23 +caldb, s, a, "prod2",,, "Calibration database"
  24 +irf, s, a, "South_50h",,, "Instrument response function"
25 edisp, b, h, no,,, "Apply energy dispersion?" 25 edisp, b, h, no,,, "Apply energy dispersion?"
26 # 26 #
27 # Energy binning parameters 27 # Energy binning parameters
src/cttsmap/cttsmap.par
@@ -23,8 +23,8 @@ srcname, s, a, "Crab",,, "Test source" @@ -23,8 +23,8 @@ srcname, s, a, "Crab",,, "Test source"
23 expcube, f, a, "NONE",,, "Exposure cube file (only needed for stacked analysis)" 23 expcube, f, a, "NONE",,, "Exposure cube file (only needed for stacked analysis)"
24 psfcube, f, a, "NONE",,, "PSF cube file (only needed for stacked analysis)" 24 psfcube, f, a, "NONE",,, "PSF cube file (only needed for stacked analysis)"
25 bkgcube, f, a, "NONE",,, "Background cube file (only needed for stacked analysis)" 25 bkgcube, f, a, "NONE",,, "Background cube file (only needed for stacked analysis)"
26 -caldb, s, a, "dummy",,, "Calibration database"  
27 -irf, s, a, "cta_dummy_irf",,, "Instrument response function" 26 +caldb, s, a, "prod2",,, "Calibration database"
  27 +irf, s, a, "South_50h",,, "Instrument response function"
28 outmap, f, a, "tsmap.fits",,, "Output Test Statistic map" 28 outmap, f, a, "tsmap.fits",,, "Output Test Statistic map"
29 29
30 # 30 #
src/ctulimit/ctulimit.par
@@ -23,8 +23,8 @@ srcname, s, a, "Crab",,, "Source of interest" @@ -23,8 +23,8 @@ srcname, s, a, "Crab",,, "Source of interest"
23 expcube, f, a, "NONE",,, "Exposure cube file (only needed for stacked analysis)" 23 expcube, f, a, "NONE",,, "Exposure cube file (only needed for stacked analysis)"
24 psfcube, f, a, "NONE",,, "PSF cube file (only needed for stacked analysis)" 24 psfcube, f, a, "NONE",,, "PSF cube file (only needed for stacked analysis)"
25 bkgcube, f, a, "NONE",,, "Background cube file (only needed for stacked analysis)" 25 bkgcube, f, a, "NONE",,, "Background cube file (only needed for stacked analysis)"
26 -caldb, s, a, "dummy",,, "Calibration database"  
27 -irf, s, a, "cta_dummy_irf",,, "Instrument response function" 26 +caldb, s, a, "prod2",,, "Calibration database"
  27 +irf, s, a, "South_50h",,, "Instrument response function"
28 28
29 # 29 #
30 # Upper limit calculation parameters 30 # Upper limit calculation parameters