Commit c63caec05d6fe7c5019534fb0d36641c7d4e5b22
1 parent
fc7ddbc3
Set default response functions to prod2::South_50h
Showing
7 changed files
with
14 additions
and
14 deletions
scripts/cslightcrv.py
| @@ -105,8 +105,8 @@ class cslightcrv(ctools.cscript): | @@ -105,8 +105,8 @@ class cslightcrv(ctools.cscript): | ||
| 105 | pars.append(gammalib.GApplicationPar("expcube","f","a","NONE","","","Exposure cube file (only needed for stacked analysis)")) | 105 | pars.append(gammalib.GApplicationPar("expcube","f","a","NONE","","","Exposure cube file (only needed for stacked analysis)")) |
| 106 | pars.append(gammalib.GApplicationPar("psfcube","f","a","NONE","","","PSF cube file (only needed for stacked analysis)")) | 106 | pars.append(gammalib.GApplicationPar("psfcube","f","a","NONE","","","PSF cube file (only needed for stacked analysis)")) |
| 107 | pars.append(gammalib.GApplicationPar("bkgcube","s","a","NONE","","","Background cube file (only needed for stacked analysis)")) | 107 | pars.append(gammalib.GApplicationPar("bkgcube","s","a","NONE","","","Background cube file (only needed for stacked analysis)")) |
| 108 | - pars.append(gammalib.GApplicationPar("caldb","s","a","dummy","","","Calibration database")) | ||
| 109 | - pars.append(gammalib.GApplicationPar("irf","s","a","cta_dummy_irf","","","Instrument response function")) | 108 | + pars.append(gammalib.GApplicationPar("caldb","s","a","prod2","","","Calibration database")) |
| 109 | + pars.append(gammalib.GApplicationPar("irf","s","a","South_50h","","","Instrument response function")) | ||
| 110 | pars.append(gammalib.GApplicationPar("tmin","r","a","51544.5","","days","Lightcurve Time start [MJD]")) | 110 | pars.append(gammalib.GApplicationPar("tmin","r","a","51544.5","","days","Lightcurve Time start [MJD]")) |
| 111 | pars.append(gammalib.GApplicationPar("tmax","r","a","51544.6","","days","Lightcurve Time stop [MJD]")) | 111 | pars.append(gammalib.GApplicationPar("tmax","r","a","51544.6","","days","Lightcurve Time stop [MJD]")) |
| 112 | pars.append(gammalib.GApplicationPar("tbins","i","a","5","","","Number of time bins points")) | 112 | pars.append(gammalib.GApplicationPar("tbins","i","a","5","","","Number of time bins points")) |
scripts/cspull.py
| @@ -99,8 +99,8 @@ class cspull(ctools.cscript): | @@ -99,8 +99,8 @@ class cspull(ctools.cscript): | ||
| 99 | pars.append(gammalib.GApplicationPar("expcube","s","a","NONE","","","Exposure cube file (only needed for stacked analysis)")) | 99 | pars.append(gammalib.GApplicationPar("expcube","s","a","NONE","","","Exposure cube file (only needed for stacked analysis)")) |
| 100 | pars.append(gammalib.GApplicationPar("psfcube","s","a","NONE","","","PSF cube file (only needed for stacked analysis)")) | 100 | pars.append(gammalib.GApplicationPar("psfcube","s","a","NONE","","","PSF cube file (only needed for stacked analysis)")) |
| 101 | pars.append(gammalib.GApplicationPar("bkgcube","s","a","NONE","","","Background cube file (only needed for stacked analysis)")) | 101 | pars.append(gammalib.GApplicationPar("bkgcube","s","a","NONE","","","Background cube file (only needed for stacked analysis)")) |
| 102 | - pars.append(gammalib.GApplicationPar("caldb","s","a","dummy","","","Calibration database")) | ||
| 103 | - pars.append(gammalib.GApplicationPar("irf","s","a","cta_dummy_irf","","","Instrument response function")) | 102 | + pars.append(gammalib.GApplicationPar("caldb","s","a","prod2","","","Calibration database")) |
| 103 | + pars.append(gammalib.GApplicationPar("irf","s","a","South_50h","","","Instrument response function")) | ||
| 104 | pars.append(gammalib.GApplicationPar("edisp","b","h","no","","","Apply energy dispersion?")) | 104 | pars.append(gammalib.GApplicationPar("edisp","b","h","no","","","Apply energy dispersion?")) |
| 105 | pars.append(gammalib.GApplicationPar("ntrials","i","a","10","","","Number of trials")) | 105 | pars.append(gammalib.GApplicationPar("ntrials","i","a","10","","","Number of trials")) |
| 106 | pars.append(gammalib.GApplicationPar("ra","r","a","83.6331","0","360","RA of pointing (deg)")) | 106 | pars.append(gammalib.GApplicationPar("ra","r","a","83.6331","0","360","RA of pointing (deg)")) |
scripts/csresmap.py
| @@ -103,8 +103,8 @@ class csresmap(ctools.cscript): | @@ -103,8 +103,8 @@ class csresmap(ctools.cscript): | ||
| 103 | pars.append(gammalib.GApplicationPar("inobs","f","a","events.fits","","","Event list, counts cube, or observation definition file")) | 103 | pars.append(gammalib.GApplicationPar("inobs","f","a","events.fits","","","Event list, counts cube, or observation definition file")) |
| 104 | pars.append(gammalib.GApplicationPar("inmodel","f","a","$CTOOLS/share/models/crab.xml","","","Source model")) | 104 | pars.append(gammalib.GApplicationPar("inmodel","f","a","$CTOOLS/share/models/crab.xml","","","Source model")) |
| 105 | pars.append(gammalib.GApplicationPar("outmap","f","a","resmap.fits","","","Output residual map")) | 105 | pars.append(gammalib.GApplicationPar("outmap","f","a","resmap.fits","","","Output residual map")) |
| 106 | - pars.append(gammalib.GApplicationPar("caldb","s","a","dummy","","","Calibration database")) | ||
| 107 | - pars.append(gammalib.GApplicationPar("irf","s","a","cta_dummy_irf","","","Instrument response function")) | 106 | + pars.append(gammalib.GApplicationPar("caldb","s","a","prod2","","","Calibration database")) |
| 107 | + pars.append(gammalib.GApplicationPar("irf","s","a","South_50h","","","Instrument response function")) | ||
| 108 | pars.append(gammalib.GApplicationPar("ebinalg","s","h","LOG","LIN|LOG|FILE","","Binning algorithm")) | 108 | pars.append(gammalib.GApplicationPar("ebinalg","s","h","LOG","LIN|LOG|FILE","","Binning algorithm")) |
| 109 | pars.append(gammalib.GApplicationPar("emin","r","h","0.1","","","Lower energy limit (TeV)")) | 109 | pars.append(gammalib.GApplicationPar("emin","r","h","0.1","","","Lower energy limit (TeV)")) |
| 110 | pars.append(gammalib.GApplicationPar("emax","r","h","100.0","","","Upper energy limit (TeV)")) | 110 | pars.append(gammalib.GApplicationPar("emax","r","h","100.0","","","Upper energy limit (TeV)")) |
scripts/cssens.py
| @@ -101,8 +101,8 @@ class cssens(ctools.cscript): | @@ -101,8 +101,8 @@ class cssens(ctools.cscript): | ||
| 101 | pars.append(gammalib.GApplicationPar("inmodel","f","a","$CTOOLS/share/models/crab.xml","","","Source model")) | 101 | pars.append(gammalib.GApplicationPar("inmodel","f","a","$CTOOLS/share/models/crab.xml","","","Source model")) |
| 102 | pars.append(gammalib.GApplicationPar("srcname","s","a","Crab","","","Source name")) | 102 | pars.append(gammalib.GApplicationPar("srcname","s","a","Crab","","","Source name")) |
| 103 | pars.append(gammalib.GApplicationPar("offset","r","h","0.0","","","Source offset angle (deg)")) | 103 | pars.append(gammalib.GApplicationPar("offset","r","h","0.0","","","Source offset angle (deg)")) |
| 104 | - pars.append(gammalib.GApplicationPar("caldb","s","a","dummy","","","Calibration database")) | ||
| 105 | - pars.append(gammalib.GApplicationPar("irf","s","a","cta_dummy_irf","","","Instrument response function")) | 104 | + pars.append(gammalib.GApplicationPar("caldb","s","a","prod2","","","Calibration database")) |
| 105 | + pars.append(gammalib.GApplicationPar("irf","s","a","South_50h","","","Instrument response function")) | ||
| 106 | pars.append(gammalib.GApplicationPar("deadc","r","h","0.95","0","1","Deadtime correction factor")) | 106 | pars.append(gammalib.GApplicationPar("deadc","r","h","0.95","0","1","Deadtime correction factor")) |
| 107 | pars.append(gammalib.GApplicationPar("outfile","f","h","sensitivity.dat","","","Output file name")) | 107 | pars.append(gammalib.GApplicationPar("outfile","f","h","sensitivity.dat","","","Output file name")) |
| 108 | pars.append(gammalib.GApplicationPar("duration","r","a","180000.0","","","Effective exposure time (s)")) | 108 | pars.append(gammalib.GApplicationPar("duration","r","a","180000.0","","","Effective exposure time (s)")) |
scripts/csspec.py
| @@ -106,8 +106,8 @@ class csspec(ctools.cscript): | @@ -106,8 +106,8 @@ class csspec(ctools.cscript): | ||
| 106 | pars.append(gammalib.GApplicationPar("expcube","f","a","NONE","","","Exposure cube file (only needed for stacked analysis)")) | 106 | pars.append(gammalib.GApplicationPar("expcube","f","a","NONE","","","Exposure cube file (only needed for stacked analysis)")) |
| 107 | pars.append(gammalib.GApplicationPar("psfcube","f","a","NONE","","","PSF cube file (only needed for stacked analysis)")) | 107 | pars.append(gammalib.GApplicationPar("psfcube","f","a","NONE","","","PSF cube file (only needed for stacked analysis)")) |
| 108 | pars.append(gammalib.GApplicationPar("bkgcube","s","a","NONE","","","Background cube file (only needed for stacked analysis)")) | 108 | pars.append(gammalib.GApplicationPar("bkgcube","s","a","NONE","","","Background cube file (only needed for stacked analysis)")) |
| 109 | - pars.append(gammalib.GApplicationPar("caldb","s","a","dummy","","","Calibration database")) | ||
| 110 | - pars.append(gammalib.GApplicationPar("irf","s","a","cta_dummy_irf","","","Instrument response function")) | 109 | + pars.append(gammalib.GApplicationPar("caldb","s","a","prod2","","","Calibration database")) |
| 110 | + pars.append(gammalib.GApplicationPar("irf","s","a","South_50h","","","Instrument response function")) | ||
| 111 | pars.append(gammalib.GApplicationPar("emin","r","h","0.1","","","Lower energy limit for spectral points(TeV)")) | 111 | pars.append(gammalib.GApplicationPar("emin","r","h","0.1","","","Lower energy limit for spectral points(TeV)")) |
| 112 | pars.append(gammalib.GApplicationPar("emax","r","h","100.0","","","Upper energy limit for spectral points(TeV)")) | 112 | pars.append(gammalib.GApplicationPar("emax","r","h","100.0","","","Upper energy limit for spectral points(TeV)")) |
| 113 | pars.append(gammalib.GApplicationPar("enumbins","i","a","20","","","Number of spectral points")) | 113 | pars.append(gammalib.GApplicationPar("enumbins","i","a","20","","","Number of spectral points")) |
scripts/cstsdist.py
| @@ -98,8 +98,8 @@ class cstsdist(ctools.cscript): | @@ -98,8 +98,8 @@ class cstsdist(ctools.cscript): | ||
| 98 | pars.append(gammalib.GApplicationPar("outfile","f","h","ts.dat","","","Output file name")) | 98 | pars.append(gammalib.GApplicationPar("outfile","f","h","ts.dat","","","Output file name")) |
| 99 | pars.append(gammalib.GApplicationPar("expcube","s","a","NONE","","","Exposure cube file (only needed for stacked analysis)")) | 99 | pars.append(gammalib.GApplicationPar("expcube","s","a","NONE","","","Exposure cube file (only needed for stacked analysis)")) |
| 100 | pars.append(gammalib.GApplicationPar("psfcube","s","a","NONE","","","PSF cube file (only needed for stacked analysis)")) | 100 | pars.append(gammalib.GApplicationPar("psfcube","s","a","NONE","","","PSF cube file (only needed for stacked analysis)")) |
| 101 | - pars.append(gammalib.GApplicationPar("caldb","s","a","dummy","","","Calibration database")) | ||
| 102 | - pars.append(gammalib.GApplicationPar("irf","s","a","cta_dummy_irf","","","Instrument response function")) | 101 | + pars.append(gammalib.GApplicationPar("caldb","s","a","prod2","","","Calibration database")) |
| 102 | + pars.append(gammalib.GApplicationPar("irf","s","a","South_50h","","","Instrument response function")) | ||
| 103 | pars.append(gammalib.GApplicationPar("ra","r","h","83.63","0","360","RA of pointing (deg)")) | 103 | pars.append(gammalib.GApplicationPar("ra","r","h","83.63","0","360","RA of pointing (deg)")) |
| 104 | pars.append(gammalib.GApplicationPar("dec","r","h","22.01","-90","90","Dec of pointing (deg)")) | 104 | pars.append(gammalib.GApplicationPar("dec","r","h","22.01","-90","90","Dec of pointing (deg)")) |
| 105 | pars.append(gammalib.GApplicationPar("emin","r","a","0.1","","","Lower energy limit (TeV)")) | 105 | pars.append(gammalib.GApplicationPar("emin","r","a","0.1","","","Lower energy limit (TeV)")) |
src/ctbkgcube/ctbkgcube.par
| @@ -22,8 +22,8 @@ inmodel, f, a, "NONE",,, "Input model XML file" | @@ -22,8 +22,8 @@ inmodel, f, a, "NONE",,, "Input model XML file" | ||
| 22 | incube, f, a, "NONE",,, "Counts cube for background cube definition" | 22 | incube, f, a, "NONE",,, "Counts cube for background cube definition" |
| 23 | outcube, f, a, "bkgcube.fits",,, "Output background cube file" | 23 | outcube, f, a, "bkgcube.fits",,, "Output background cube file" |
| 24 | outmodel, f, a, "NONE",,, "Output model XML file" | 24 | outmodel, f, a, "NONE",,, "Output model XML file" |
| 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 | # | 27 | # |
| 28 | # Energy binning parameters | 28 | # Energy binning parameters |
| 29 | #========================== | 29 | #========================== |