Commit e7515e70a020abc6461be834e0b00f2f1a45e18b

Authored by Jürgen Knödlseder
1 parent 8fbde373

Add expcube and psfcube parameters.

doc/source/reference_manual/ctlike.rst
... ... @@ -22,30 +22,37 @@ and unbinned maximum likelihood analysis.
22 22 General parameters
23 23 ------------------
24 24  
25   -``inobs [file]``
  25 +``inobs = events.fits [file]``
26 26 Input event list, counts cube or observation definition XML file.
27 27  
28   -``(stat = POISSON) [string]``
29   - Fitting statistics (POISSON or GAUSSIAN; only affects binned analysis).
  28 +``inmodel = $CTOOLS/share/models/crab.xml [string]``
  29 + Source model input XML file.
30 30  
31   -``(edisp = no) [boolean]``
32   - Applies energy dispersion to response computation.
  31 +``expcube = NONE [file]``
  32 + Exposure cube file (only needed for stacked analysis).
  33 +
  34 +``psfcube = NONE [file]``
  35 + PSF cube file (only needed for stacked analysis).
33 36  
34   -``(refit = no) [boolean]``
35   - Performs refitting of solution after initial fit.
36   -
37 37 ``caldb [string]``
38 38 Calibration database.
39 39  
40 40 ``irf [string]``
41 41 Instrument response function.
42 42  
43   -``inmodel [string]``
44   - Source model input XML file.
45   -
46 43 ``outmodel [string]``
47 44 Source model result XML file with values and uncertainties updated by
48 45 the maximum likelihood fit.
  46 +
  47 +``(stat = POISSON) [string]``
  48 + Fitting statistics (POISSON or GAUSSIAN; only affects binned analysis).
  49 +
  50 +``(edisp = no) [boolean]``
  51 + Applies energy dispersion to response computation.
  52 +
  53 +``(refit = no) [boolean]``
  54 + Performs refitting of solution after initial fit.
  55 +
49 56  
50 57  
51 58 Standard parameters
... ...
src/ctlike/ctlike.hpp
... ... @@ -35,7 +35,7 @@
35 35  
36 36 /* __Definitions _________________________________________________________ */
37 37 #define CTLIKE_NAME "ctlike"
38   -#define CTLIKE_VERSION "00-07-00"
  38 +#define CTLIKE_VERSION "1.0.0"
39 39  
40 40  
41 41 /***********************************************************************//**
... ...
src/ctlike/ctlike.par
... ... @@ -5,7 +5,7 @@
5 5 # ------------------------------------------------------------------------- #
6 6 # #
7 7 # File: ctlike.par #
8   -# Version: 00-06-00 #
  8 +# Version: 1.0.0 #
9 9 # #
10 10 # Author: Jurgen Knodlseder #
11 11 # Jurgen.Knodlseder@irap.omp.eu #
... ... @@ -18,13 +18,15 @@
18 18 # General parameters
19 19 #===================
20 20 inobs, f, a, "events.fits",,, "Event list, counts cube or observation definition file"
21   -stat, s, h, "POISSON",,, "Optimization statistics"
22   -edisp, b, h, no,,, "Apply energy dispersion?"
23   -refit, b, h, no,,, "Do refitting?"
  21 +inmodel, f, a, "$CTOOLS/share/models/crab.xml",,, "Source model"
  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)"
24 24 caldb, s, a, "dummy",,, "Calibration database"
25 25 irf, s, a, "cta_dummy_irf",,, "Instrument response function"
26   -inmodel, f, a, "$CTOOLS/share/models/crab.xml",,, "Source model"
27 26 outmodel, f, a, "crab_results.xml",,, "Source model output file"
  27 +stat, s, h, "POISSON",,, "Optimization statistics"
  28 +edisp, b, h, no,,, "Apply energy dispersion?"
  29 +refit, b, h, no,,, "Do refitting?"
28 30 #
29 31 # Standard parameters
30 32 #====================
... ...