From adc3a6761ac2897678a36577ee665ab6f72c1f71 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Sun, 6 Dec 2015 18:00:46 +0100 Subject: [PATCH] Homogenise parameter file information. --- src/ctbin/ctbin.par | 7 +++++-- src/ctbkgcube/ctbkgcube.par | 11 +++++++---- src/ctbutterfly/ctbutterfly.par | 6 +++--- src/ctcubemask/ctcubemask.par | 10 ++++++---- src/cterror/cterror.par | 8 ++++---- src/ctexpcube/ctexpcube.par | 11 +++++++---- src/ctlike/ctlike.par | 12 ++++++++---- src/ctmodel/ctmodel.par | 20 ++++++++++++-------- src/ctobssim/ctobssim.par | 13 ++++++------- src/ctpsfcube/ctpsfcube.par | 10 +++++++--- src/ctselect/ctselect.par | 4 ++-- src/ctskymap/ctskymap.par | 4 +++- src/cttsmap/cttsmap.par | 11 +++++------ src/ctulimit/ctulimit.par | 6 +++--- 14 files changed, 78 insertions(+), 55 deletions(-) diff --git a/src/ctbin/ctbin.par b/src/ctbin/ctbin.par index 02ee1f9..8cb60ab 100644 --- a/src/ctbin/ctbin.par +++ b/src/ctbin/ctbin.par @@ -17,8 +17,9 @@ # # General parameters #=================== -inobs, f, a, "events.fits",,, "Event list or observation definition XML file" -outcube, f, a, "cntcube.fits",,, "Output counts cube" +inobs, f, a, "events.fits",,, "Input event list or observation definition XML file" +outcube, f, a, "cntcube.fits",,, "Output counts cube file" + # # Energy binning parameters #========================== @@ -27,6 +28,7 @@ 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" + # # Spatial binning parameters #=========================== @@ -38,6 +40,7 @@ coordsys, s, a, "CEL", CEL|GAL,,"Coordinate system (CEL - celestial, GAL - galac xref, r, a, 83.63,0,360, "First coordinate of image center in degrees (RA or galactic l)" yref, r, a, 22.01,-90,90, "Second coordinate of image center in degrees (DEC or galactic b)" proj, s, a, "CAR",AIT|AZP|CAR|MER|MOL|STG|TAN,, "Projection method" + # # Standard parameters #==================== diff --git a/src/ctbkgcube/ctbkgcube.par b/src/ctbkgcube/ctbkgcube.par index a6ef498..a4b496f 100644 --- a/src/ctbkgcube/ctbkgcube.par +++ b/src/ctbkgcube/ctbkgcube.par @@ -15,15 +15,16 @@ # # ############################################################################# # -# Observational parameters +# General parameters #=================== inobs, f, a, "NONE",,, "Input event list or observation definition XML file" inmodel, f, a, "NONE",,, "Input model XML file" -incube, f, a, "NONE",,, "Counts cube for background cube definition" -outcube, f, a, "bkgcube.fits",,, "Output background cube file" -outmodel, f, a, "NONE",,, "Output model XML file" +incube, f, a, "NONE",,, "Input counts cube file to extract background cube definition" caldb, s, a, "prod2",,, "Calibration database" irf, s, a, "South_50h",,, "Instrument response function" +outcube, f, a, "bkgcube.fits",,, "Output background cube file" +outmodel, f, a, "NONE",,, "Output model XML file" + # # Energy binning parameters #========================== @@ -32,6 +33,7 @@ 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" + # # Spatial binning parameters #=========================== @@ -43,6 +45,7 @@ coordsys, s, a, "CEL", CEL|GAL,,"Coordinate system (CEL - celestial, GAL - galac xref, r, a, 83.63,0,360, "First coordinate of image center in degrees (RA or galactic l)" yref, r, a, 22.01,-90,90, "Second coordinate of image center in degrees (DEC or galactic b)" proj, s, a, "CAR", AIT|AZP|CAR|MER|MOL|STG|TAN,, "Projection method" + # # Standard parameters #==================== diff --git a/src/ctbutterfly/ctbutterfly.par b/src/ctbutterfly/ctbutterfly.par index 5dd555a..336a769 100644 --- a/src/ctbutterfly/ctbutterfly.par +++ b/src/ctbutterfly/ctbutterfly.par @@ -20,9 +20,9 @@ inobs, f, a, "events.fits",,,"Input event list, counts cube or observation definition XML file" inmodel, f, a, "$CTOOLS/share/models/crab.xml",,, "Input model XML file" 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)" +expcube, f, a, "NONE",,, "Input exposure cube file (only needed for stacked analysis)" +psfcube, f, a, "NONE",,, "Input PSF cube file (only needed for stacked analysis)" +bkgcube, f, a, "NONE",,, "Input background cube file (only needed for stacked analysis)" caldb, s, a, "prod2",,, "Calibration database" irf, s, a, "South_50h",,, "Instrument response function" edisp, b, h, no,,, "Apply energy dispersion?" diff --git a/src/ctcubemask/ctcubemask.par b/src/ctcubemask/ctcubemask.par index 094d4d0..83b3e27 100644 --- a/src/ctcubemask/ctcubemask.par +++ b/src/ctcubemask/ctcubemask.par @@ -15,12 +15,13 @@ # # ############################################################################# # -# File information -#================= +# General parameters +#=================== inobs, f, a, "cntmap.fits",,, "Input counts cube or observation definition XML file" regfile, f, a, "NONE",,, "Exclusion region file in ds9 format" -outcube, f, a, "filtered_cube.fits",,, "Output counts cube or observation definition file" -prefix, s, h, "filtered_",,, "Prefix for counts cube in observation definition file" +outcube, f, a, "filtered_cube.fits",,, "Output counts cube or observation definition XML file" +prefix, s, h, "filtered_",,, "Prefix for counts cube in observation definition XML file" + # # Selection parameters #===================== @@ -30,6 +31,7 @@ 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,,, "Lower energy limit (TeV)" emax, r, a, 100.0,,, "Upper energy limit (TeV)" + # # Standard parameters #==================== diff --git a/src/cterror/cterror.par b/src/cterror/cterror.par index 2c666ac..91a4a03 100644 --- a/src/cterror/cterror.par +++ b/src/cterror/cterror.par @@ -20,14 +20,14 @@ #=================== inobs, f, a, "events.fits",,, "Input event list, counts cube or observation definition XML file" inmodel, f, a, "$CTOOLS/share/models/crab.xml",,, "Input model XML file" -outmodel, f, a, "results.xml",,, "Output model XML file" 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)" +expcube, f, a, "NONE",,, "Input exposure cube file (only needed for stacked analysis)" +psfcube, f, a, "NONE",,, "Input PSF cube file (only needed for stacked analysis)" +bkgcube, f, a, "NONE",,, "Input background cube file (only needed for stacked analysis)" caldb, s, a, "prod2",,, "Calibration database" irf, s, a, "South_50h",,, "Instrument response function" edisp, b, h, no,,, "Apply energy dispersion?" +outmodel, f, a, "results.xml",,, "Output model XML file" # # Error calculation parameters diff --git a/src/ctexpcube/ctexpcube.par b/src/ctexpcube/ctexpcube.par index a3959bc..008ddf6 100644 --- a/src/ctexpcube/ctexpcube.par +++ b/src/ctexpcube/ctexpcube.par @@ -15,14 +15,15 @@ # # ############################################################################# # -# Observational parameters +# General parameters #=================== -inobs, f, a, "NONE",,, "Event list or observation definition XML file" -incube, f, a, "NONE",,, "Counts cube for exposure cube definition" -outcube, f, a, "expcube.fits",,, "Output exposure cube file" +inobs, f, a, "NONE",,, "Input event list or observation definition XML file" +incube, f, a, "NONE",,, "Input counts cube file to extract exposure cube definition" caldb, s, a, "prod2",,, "Calibration database" irf, s, a, "South_50h",,, "Instrument response function" edisp, b, h, no,,, "Apply energy dispersion?" +outcube, f, a, "expcube.fits",,, "Output exposure cube file" + # # Energy binning parameters #========================== @@ -31,6 +32,7 @@ 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" + # # Spatial binning parameters #=========================== @@ -42,6 +44,7 @@ coordsys, s, a, "CEL", CEL|GAL,,"Coordinate system (CEL - celestial, GAL - galac xref, r, a, 83.63,0,360, "First coordinate of image center in degrees (RA or galactic l)" yref, r, a, 22.01,-90,90, "Second coordinate of image center in degrees (DEC or galactic b)" proj, s, a, "CAR", AIT|AZP|CAR|MER|MOL|STG|TAN,, "Projection method" + # # Standard parameters #==================== diff --git a/src/ctlike/ctlike.par b/src/ctlike/ctlike.par index 3f17035..b9668e8 100644 --- a/src/ctlike/ctlike.par +++ b/src/ctlike/ctlike.par @@ -19,14 +19,18 @@ #=================== inobs, f, a, "events.fits",,, "Input event list, counts cube or observation definition XML file" inmodel, f, a, "$CTOOLS/share/models/crab.xml",,, "Input model XML file" -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)" +expcube, f, a, "NONE",,, "Input exposure cube file (only needed for stacked analysis)" +psfcube, f, a, "NONE",,, "Input PSF cube file (only needed for stacked analysis)" +bkgcube, f, a, "NONE",,, "Input background cube file (only needed for stacked analysis)" caldb, s, a, "prod2",,, "Calibration database" irf, s, a, "South_50h",,, "Instrument response function" +edisp, b, h, no,,, "Apply energy dispersion?" outmodel, f, a, "crab_results.xml",,, "Output model XML file" + +# +# Maximisation parameters +#======================== stat, s, h, "POISSON",,, "Optimization statistics" -edisp, b, h, no,,, "Apply energy dispersion?" refit, b, h, no,,, "Do refitting?" fix_spat_for_ts, b, h, no,,, "Fix spatial parameters for TS computation?" diff --git a/src/ctmodel/ctmodel.par b/src/ctmodel/ctmodel.par index 577a442..eb96c5b 100644 --- a/src/ctmodel/ctmodel.par +++ b/src/ctmodel/ctmodel.par @@ -17,25 +17,27 @@ # # General parameters #=================== -incube, f, a, "NONE",,, "Input counts cube" +inobs, f, a, "NONE",,, "Input event list, counts cube or observation definition XML file" +incube, f, a, "NONE",,, "Input counts cube file to extract model cube definition" inmodel, f, a, "$CTOOLS/share/models/crab.xml",,, "Input model XML file" -outcube, f, a, "modcube.fits",,, "Output model cube" +expcube, f, a, "NONE",,, "Input exposure cube file (only needed for stacked analysis)" +psfcube, f, a, "NONE",,, "Input PSF cube file (only needed for stacked analysis)" +bkgcube, f, a, "NONE",,, "Input background cube file (only needed for stacked analysis)" +caldb, s, a, "prod2",,, "Calibration database" +irf, s, a, "South_50h",,, "Instrument response function" edisp, b, h, no,,, "Apply energy dispersion?" +outcube, f, a, "modcube.fits",,, "Output model cube file" + # # Observation parameters #======================= -inobs, f, a, "NONE",,, "Event list, counts cube or observation definition file" -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, "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)" 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 #========================== @@ -44,6 +46,7 @@ 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" + # # Spatial binning parameters #=========================== @@ -55,6 +58,7 @@ coordsys, s, a, "CEL", CEL|GAL,,"Coordinate system (CEL - celestial, GAL - galac xref, r, a, 83.63,0,360, "First coordinate of image center in degrees (RA or galactic l)" yref, r, a, 22.01,-90,90, "Second coordinate of image center in degrees (DEC or galactic b)" proj, s, a, "CAR", AIT|AZP|CAR|MER|MOL|STG|TAN,, "Projection method" + # # Standard parameters #==================== diff --git a/src/ctobssim/ctobssim.par b/src/ctobssim/ctobssim.par index 9871f63..3cd9929 100644 --- a/src/ctobssim/ctobssim.par +++ b/src/ctobssim/ctobssim.par @@ -15,17 +15,15 @@ # # ############################################################################# # -# File information -#================= +# General parameters +#=================== inobs, f, h, "NONE",,, "Input event list or observation definition XML file" inmodel, f, a, "$CTOOLS/share/models/crab.xml",,, "Input model XML file" +caldb, s, a, "prod2",,, "Calibration database" +irf, s, a, "South_50h",,, "Instrument response function" outevents, f, a, "events.fits",,, "Output event data file or observation definition XML file" prefix, s, h, "sim_events_",,, "Prefix for event lists in observation definition XML file" -# -# Observation parameters -#======================= -caldb, s, a, "prod2",,, "Calibration database" -irf, s, a, "South_50h",,, "Instrument response function" + # # Simulation parameters #====================== @@ -40,6 +38,7 @@ 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" maxrate, r, h, 1.0e6,,, "Maximum photon rate" + # # Standard parameters #==================== diff --git a/src/ctpsfcube/ctpsfcube.par b/src/ctpsfcube/ctpsfcube.par index dd7fb5b..8c3dc69 100644 --- a/src/ctpsfcube/ctpsfcube.par +++ b/src/ctpsfcube/ctpsfcube.par @@ -17,12 +17,13 @@ # # Observational parameters #=================== -inobs, f, a, "NONE",,, "Event list or observation definition XML file" -incube, f, a, "NONE",,, "Counts cube for psf cube definition" -outcube, f, a, "psfcube.fits",,, "Output psf cube file" +inobs, f, a, "NONE",,, "Input event list or observation definition XML file" +incube, f, a, "NONE",,, "Input counts cube file to extract PSF cube definition" caldb, s, a, "prod2",,, "Calibration database" irf, s, a, "South_50h",,, "Instrument response function" edisp, b, h, no,,, "Apply energy dispersion?" +outcube, f, a, "psfcube.fits",,, "Output PSF cube file" + # # Energy binning parameters #========================== @@ -31,6 +32,7 @@ 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" + # # Spatial binning parameters #=========================== @@ -42,11 +44,13 @@ coordsys, s, a, "CEL", CEL|GAL,,"Coordinate system (CEL - celestial, GAL - galac xref, r, a, 83.63,0,360, "First coordinate of image center in degrees (RA or galactic l)" yref, r, a, 22.01,-90,90, "Second coordinate of image center in degrees (DEC or galactic b)" proj, s, a, "CAR", AIT|AZP|CAR|MER|MOL|STG|TAN,, "Projection method" + # # Angular separation binning parameters #====================================== 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 84d69d4..6b26a89 100644 --- a/src/ctselect/ctselect.par +++ b/src/ctselect/ctselect.par @@ -15,8 +15,8 @@ # # ############################################################################# # -# File information -#================= +# General parameters +#=================== inobs, f, a, "events.fits",,, "Input event list or observation definition XML file" outobs, f, a, "selected_events.fits",,, "Output event list or observation definition XML file" prefix, s, h, "selected_",,, "Prefix for event lists in observation definition XML file" diff --git a/src/ctskymap/ctskymap.par b/src/ctskymap/ctskymap.par index 6ad4473..0ba7fad 100644 --- a/src/ctskymap/ctskymap.par +++ b/src/ctskymap/ctskymap.par @@ -17,13 +17,15 @@ # # General parameters #=================== -inobs, f, a, "events.fits",,, "Event list or observation definition XML file" +inobs, f, a, "events.fits",,, "Input event list or observation definition XML file" outmap, f, a, "skymap.fits",,, "Output skymap file" + # # Event selection parameters #=========================== emin, r, a, 0.1,,, "Lower energy limit (TeV)" emax, r, a, 100.0,,, "Upper energy limit (TeV)" + # # Spatial binning parameters #=========================== diff --git a/src/cttsmap/cttsmap.par b/src/cttsmap/cttsmap.par index 1b32423..c3dfdbf 100644 --- a/src/cttsmap/cttsmap.par +++ b/src/cttsmap/cttsmap.par @@ -19,14 +19,14 @@ #=================== inobs, f, a, "events.fits",,, "Input event list, counts cube or observation definition XML file" inmodel, f, a, "$CTOOLS/share/models/crab.xml",,, "Input model XML file" -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)" +srcname, s, a, "Crab",,, "Test source name" +expcube, f, a, "NONE",,, "Input exposure cube file (only needed for stacked analysis)" +psfcube, f, a, "NONE",,, "Input PSF cube file (only needed for stacked analysis)" +bkgcube, f, a, "NONE",,, "Input background cube file (only needed for stacked analysis)" caldb, s, a, "prod2",,, "Calibration database" irf, s, a, "South_50h",,, "Instrument response function" edisp, b, h, no,,, "Apply energy dispersion?" -outmap, f, a, "tsmap.fits",,, "Output Test Statistic map" +outmap, f, a, "tsmap.fits",,, "Output Test Statistic map file" # # Spatial binning parameters @@ -47,7 +47,6 @@ binmin, i, h, -1,,, "First bin to compute" binmax, i, h, -1,,, "Last bin to compute" logL0, r, h, 0.0,,, "LogLikelihood value of null hypothesis" - # # Standard parameters #==================== diff --git a/src/ctulimit/ctulimit.par b/src/ctulimit/ctulimit.par index 78bf3ff..7986cd1 100644 --- a/src/ctulimit/ctulimit.par +++ b/src/ctulimit/ctulimit.par @@ -20,9 +20,9 @@ inobs, f, a, "events.fits",,, "Input event list, counts cube or observation definition XML file" inmodel, f, a, "$CTOOLS/share/models/crab.xml",,, "Input model XML file" 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)" +expcube, f, a, "NONE",,, "Input exposure cube file (only needed for stacked analysis)" +psfcube, f, a, "NONE",,, "Input PSF cube file (only needed for stacked analysis)" +bkgcube, f, a, "NONE",,, "Input background cube file (only needed for stacked analysis)" caldb, s, a, "prod2",,, "Calibration database" irf, s, a, "South_50h",,, "Instrument response function" edisp, b, h, no,,, "Apply energy dispersion?" -- libgit2 0.21.4