diff --git a/scripts/cspull.py b/scripts/cspull.py index 94fad44..6b1b7cf 100755 --- a/scripts/cspull.py +++ b/scripts/cspull.py @@ -109,8 +109,8 @@ class cspull(ctools.cscript): pars.append(gammalib.GApplicationPar("enumbins","i","a","0","","","Number of energy bins (0=unbinned)")) pars.append(gammalib.GApplicationPar("npix","i","h","200","","","Number of pixels for binned")) pars.append(gammalib.GApplicationPar("binsz","r","h","0.05","","","Pixel size for binned (deg/pixel)")) - pars.append(gammalib.GApplicationPar("deadc","r","h","0.95","","","Deadtime correction factor")) - pars.append(gammalib.GApplicationPar("rad","r","h","5.0","","","Radius of ROI (deg)")) + pars.append(gammalib.GApplicationPar("deadc","r","h","0.95","0","1","Deadtime correction factor")) + pars.append(gammalib.GApplicationPar("rad","r","h","5.0","0","180","Radius of ROI (deg)")) pars.append(gammalib.GApplicationPar("pattern","s","h","single","","","Observation pattern (single/four)")) pars.append(gammalib.GApplicationPar("offset","r","h","1.5","","","Observation pattern offset (deg)")) pars.append(gammalib.GApplicationPar("ntrials","i","a","10","","","Number of trials")) diff --git a/scripts/csresmap.py b/scripts/csresmap.py index 17a54de..52e1be3 100755 --- a/scripts/csresmap.py +++ b/scripts/csresmap.py @@ -105,8 +105,8 @@ class csresmap(ctools.cscript): pars.append(gammalib.GApplicationPar("outmap","f","a","resmap.fits","","","Output residual map")) pars.append(gammalib.GApplicationPar("caldb","s","a","dummy","","","Calibration database")) pars.append(gammalib.GApplicationPar("irf","s","a","cta_dummy_irf","","","Instrument response function")) - pars.append(gammalib.GApplicationPar("emin","r","h","0.1","0","","Lower energy limit (TeV)")) - pars.append(gammalib.GApplicationPar("emax","r","h","100.0","0","","Upper energy limit (TeV)")) + pars.append(gammalib.GApplicationPar("emin","r","h","0.1","","","Lower energy limit (TeV)")) + pars.append(gammalib.GApplicationPar("emax","r","h","100.0","","","Upper energy limit (TeV)")) pars.append(gammalib.GApplicationPar("enumbins","i","h","20","","","Number of energy bins")) pars.append(gammalib.GApplicationPar("ebinalg","s","h","LOG","LIN|LOG|FILE","","Binning algorithm")) pars.append(gammalib.GApplicationPar("coordsys","s","a","CEL","CEL|GAL","","Coordinate System")) diff --git a/scripts/cssens.py b/scripts/cssens.py index 9f5546e..d0c805f 100755 --- a/scripts/cssens.py +++ b/scripts/cssens.py @@ -109,7 +109,7 @@ class cssens(ctools.cscript): pars.append(gammalib.GApplicationPar("caldb","s","a","$CTOOLS/share/caldb/data/cta/dummy","","","Calibration database")) pars.append(gammalib.GApplicationPar("irf","s","a","cta_dummy_irf","","","Instrument response function")) pars.append(gammalib.GApplicationPar("type","s","a","point","","","Source model type (point/gauss/shell/disk)")) - pars.append(gammalib.GApplicationPar("offset","r","a","0.0","0.0","","Source offset angle (deg)")) + pars.append(gammalib.GApplicationPar("offset","r","a","0.0","","","Source offset angle (deg)")) pars.append(gammalib.GApplicationPar("bkg","s","a","$CTOOLS/share/models/bkg_dummy.txt","","","Background model file function (none=power law for E)")) pars.append(gammalib.GApplicationPar("duration","r","a","180000.0","","","Effective exposure time (s)")) pars.append(gammalib.GApplicationPar("rad","r","a","5.0","","","Radius of ROI (deg)")) diff --git a/scripts/cstsdist.py b/scripts/cstsdist.py index 7c1641b..16331a3 100755 --- a/scripts/cstsdist.py +++ b/scripts/cstsdist.py @@ -100,8 +100,8 @@ class cstsdist(ctools.cscript): pars.append(gammalib.GApplicationPar("psfcube","s","a","NONE","","","PSF cube file (only needed for stacked analysis)")) pars.append(gammalib.GApplicationPar("caldb","s","a","dummy","","","Calibration database")) pars.append(gammalib.GApplicationPar("irf","s","a","cta_dummy_irf","","","Instrument response function")) - pars.append(gammalib.GApplicationPar("ra","r","h","83.6331","0","360","RA of pointing (deg)")) - pars.append(gammalib.GApplicationPar("dec","r","h","22.0145","-90","90","Dec of pointing (deg)")) + pars.append(gammalib.GApplicationPar("ra","r","h","83.63","0","360","RA of pointing (deg)")) + pars.append(gammalib.GApplicationPar("dec","r","h","22.01","-90","90","Dec of pointing (deg)")) pars.append(gammalib.GApplicationPar("emin","r","a","0.1","","","Lower energy limit (TeV)")) pars.append(gammalib.GApplicationPar("emax","r","a","100.0","","","Upper energy limit (TeV)")) pars.append(gammalib.GApplicationPar("tmin","r","h","0.0","","","Start time (MET in s)")) @@ -114,7 +114,7 @@ class cstsdist(ctools.cscript): pars.append(gammalib.GApplicationPar("ntrials","i","a","10","","","Number of trials")) pars.append(gammalib.GApplicationPar("type","s","a","point","","","Source model type (point/gauss/shell/disk)")) pars.append(gammalib.GApplicationPar("index","r","h","-2.48","","","Spectral index")) - pars.append(gammalib.GApplicationPar("offset","r","a","0.0","0.0","","Source offset angle (deg)")) + pars.append(gammalib.GApplicationPar("offset","r","a","0.0","","","Source offset angle (deg)")) pars.append(gammalib.GApplicationPar("bkg","s","a","$CTOOLS/share/models/bkg_dummy.txt","","","Background model file function")) pars.append_standard() pars.append(gammalib.GApplicationPar("logfile","f","h","cstsdist.log","","","Log filename")) diff --git a/src/ctbin/ctbin.par b/src/ctbin/ctbin.par index 0d9f3e0..0b26264 100644 --- a/src/ctbin/ctbin.par +++ b/src/ctbin/ctbin.par @@ -23,8 +23,8 @@ outcube, f, a, "cntcube.fits",,, "Output counts cube" # Energy binning parameters #========================== ebinalg, s, a, "LOG",FILE|LIN|LOG,, "Algorithm for defining energy bins" -emin, r, a, 0.1,0,, "Start value for first energy bin in TeV" -emax, r, a, 100.0,0,, "Stop value for last energy bin in TeV" +emin, r, a, 0.1,,, "Start value for first energy bin in TeV" +emax, r, a, 100.0,,, "Stop value for last energy bin in TeV" enumbins, i, a, 20,,, "Number of energy bins" ebinfile, f, a, "NONE",,, "Name of the file containing the energy bin definition" # diff --git a/src/ctbkgcube/ctbkgcube.par b/src/ctbkgcube/ctbkgcube.par index 39f06c7..272d150 100644 --- a/src/ctbkgcube/ctbkgcube.par +++ b/src/ctbkgcube/ctbkgcube.par @@ -28,8 +28,8 @@ irf, s, a, "cta_dummy_irf",,, "Instrument response function" # Energy binning parameters #========================== ebinalg, s, h, "LOG",FILE|LIN|LOG,, "Algorithm for defining energy bins" -emin, r, a, 0.1,0,, "Start value for first energy bin in TeV" -emax, r, a, 100.0,0,, "Stop value for last energy bin in TeV" +emin, r, a, 0.1,,, "Lower energy limit (TeV)" +emax, r, a, 100.0,,, "Upper energy limit (TeV)" enumbins, i, a, 20,,, "Number of energy bins" ebinfile, f, h, "NONE",,, "Name of the file containing the energy bin definition" # diff --git a/src/ctcubemask/ctcubemask.par b/src/ctcubemask/ctcubemask.par index 3f6ba40..616239f 100644 --- a/src/ctcubemask/ctcubemask.par +++ b/src/ctcubemask/ctcubemask.par @@ -28,8 +28,8 @@ usepnt, b, h, no,,, "Use pointing instead of RA/DEC parameters?" ra, r, a, 83.63,0,360, "RA for ROI centre (degrees)" dec, r, a, 22.01,-90,90, "Dec for ROI centre (degrees)" rad, r, a, 3.0,0,180, "Radius of ROI (degrees)" -emin, r, a, 0.1,0,, "Lower energy limit (TeV)" -emax, r, a, 100.0,0,, "Upper energy limit (TeV)" +emin, r, a, 0.1,,, "Lower energy limit (TeV)" +emax, r, a, 100.0,,, "Upper energy limit (TeV)" # # Standard parameters #==================== diff --git a/src/ctexpcube/ctexpcube.par b/src/ctexpcube/ctexpcube.par index 597fc9d..d4381ef 100644 --- a/src/ctexpcube/ctexpcube.par +++ b/src/ctexpcube/ctexpcube.par @@ -27,8 +27,8 @@ edisp, b, h, no,,, "Apply energy dispersion?" # Energy binning parameters #========================== ebinalg, s, h, "LOG", FILE|LIN|LOG,,"Algorithm for defining energy bins" -emin, r, a, 0.1,0,,"Start value for first energy bin in TeV" -emax, r, a, 100.0,0,, "Stop value for last energy bin in TeV" +emin, r, a, 0.1,,,"Lower energy limit (TeV)" +emax, r, a, 100.0,,, "Upper energy limit (TeV)" enumbins, i, a, 20,,, "Number of energy bins" ebinfile, f, h, "NONE",,, "Name of the file containing the energy bin definition" # diff --git a/src/ctmodel/ctmodel.par b/src/ctmodel/ctmodel.par index 1a34f30..9cd20a9 100644 --- a/src/ctmodel/ctmodel.par +++ b/src/ctmodel/ctmodel.par @@ -32,15 +32,15 @@ irf, s, a, "cta_dummy_irf",,, "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)" -tmin, r, a, 0.0,0,, "Start time (MET in s)" -tmax, r, a, 1800.0,0,, "End time (MET in s)" +tmin, r, a, 0.0,,, "Start time (MET in s)" +tmax, r, a, 1800.0,,, "End time (MET in s)" deadc, r, h, 0.95,0,1, "Average deadtime correction factor" # # Energy binning parameters #========================== ebinalg, s, h, "LOG",FILE|LIN|LOG,, "Algorithm for defining energy bins" -emin, r, a, 0.1,0,, "Start value for first energy bin in TeV" -emax, r, a, 100.0,0,, "Stop value for last energy bin in TeV" +emin, r, a, 0.1,,, "Start value for first energy bin in TeV" +emax, r, a, 100.0,,, "Stop value for last energy bin in TeV" enumbins, i, a, 20,,, "Number of energy bins" ebinfile, f, h, "NONE",,, "Name of the file containing the energy bin definition" # diff --git a/src/ctobssim/ctobssim.par b/src/ctobssim/ctobssim.par index ddbcf70..6b8e59f 100644 --- a/src/ctobssim/ctobssim.par +++ b/src/ctobssim/ctobssim.par @@ -33,10 +33,10 @@ seed, i, h, 1,,, "Random number generator seed" 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)" -tmin, r, a, 0.0,0,, "Start time (MET in s)" -tmax, r, a, 1800.0,0,, "End time (MET in s)" -emin, r, a, 0.1,0,, "Lower energy limit (TeV)" -emax, r, a, 100.0,0,, "Upper energy limit (TeV)" +tmin, r, a, 0.0,,, "Start time (MET in s)" +tmax, r, a, 1800.0,,, "End time (MET in s)" +emin, r, a, 0.1,,, "Lower energy limit (TeV)" +emax, r, a, 100.0,,, "Upper energy limit (TeV)" edisp, b, h, no,,, "Apply energy dispersion?" deadc, r, h, 0.95,0,1, "Average deadtime correction factor" # diff --git a/src/ctpsfcube/ctpsfcube.par b/src/ctpsfcube/ctpsfcube.par index d68e99b..8f1d9a2 100644 --- a/src/ctpsfcube/ctpsfcube.par +++ b/src/ctpsfcube/ctpsfcube.par @@ -27,8 +27,8 @@ edisp, b, h, no,,, "Apply energy dispersion?" # Energy binning parameters #========================== ebinalg, s, h, "LOG", FILE|LIN|LOG,, "Algorithm for defining energy bins" -emin, r, a, 0.1,,, "Start value for first energy bin in TeV" -emax, r, a, 100.0,,, "Stop value for last energy bin in TeV" +emin, r, a, 0.1,,, "Lower energy limit (TeV)" +emax, r, a, 100.0,,, "Upper energy limit (TeV)" enumbins, i, a, 20,,, "Number of energy bins" ebinfile, f, h, "NONE",,, "Name of the file containing the energy bin definition" # @@ -45,7 +45,7 @@ proj, s, a, "CAR", AIT|AZP|CAR|MER|MOL|STG|TAN,, "Projection method" # # Angular separation binning parameters #====================================== -amax, r, h, 0.3,0,, "Upper bound of angular separation between true and measued photon direction (degrees)" +amax, r, h, 0.3,,, "Upper bound of angular separation between true and measued photon direction (degrees)" anumbins, i, h, 200,,, "Number of angular separation bins" # # Standard parameters diff --git a/src/ctselect/ctselect.par b/src/ctselect/ctselect.par index 0da4d4d..1490613 100644 --- a/src/ctselect/ctselect.par +++ b/src/ctselect/ctselect.par @@ -27,10 +27,10 @@ usepnt, b, h, no,,, "Use pointing instead of RA/DEC parameters?" ra, r, a, 83.63,0,360, "RA for ROI centre (degrees)" dec, r, a, 22.01,-90,90, "Dec for ROI centre (degrees)" rad, r, a, 3.0,0,180, "Radius of ROI (degrees)" -tmin, r, a, 0.0,0,, "Start time (CTA MET in seconds)" -tmax, r, a, 0.0,0,, "End time (CTA MET in seconds)" -emin, r, a, 0.1,0,, "Lower energy limit (TeV)" -emax, r, a, 100.0,0,, "Upper energy limit (TeV)" +tmin, r, a, 0.0,,, "Start time (CTA MET in seconds)" +tmax, r, a, 0.0,,, "End time (CTA MET in seconds)" +emin, r, a, 0.1,,, "Lower energy limit (TeV)" +emax, r, a, 100.0,,, "Upper energy limit (TeV)" expr, s, h, "",,, "Additional selection expression" usethres,s, h, "NONE",NONE|DEFAULT|USER,, "Energy threshold type" # diff --git a/src/ctskymap/ctskymap.par b/src/ctskymap/ctskymap.par index a6c9a9e..0d57998 100644 --- a/src/ctskymap/ctskymap.par +++ b/src/ctskymap/ctskymap.par @@ -22,8 +22,8 @@ outmap, f, a, "skymap.fits",,, "Output file name" # # Event selection parameters #=========================== -emin, r, a, 0.1,0,, "Minimum energy in TeV" -emax, r, a, 100.0,0,, "Maximum energy in TeV" +emin, r, a, 0.1,,, "Lower energy limit (TeV)" +emax, r, a, 100.0,,, "Upper energy limit (TeV)" # # Spatial binning parameters #===========================