Commit 44e28016b8451c27d091680b495c8eb6db81a4f6
1 parent
501c0264
Update documentation
Showing
2 changed files
with
130 additions
and
0 deletions
doc/source/reference_manual/csspec.rst
0 → 100644
| 1 | +.. _csspec: | |
| 2 | + | |
| 3 | +csspec | |
| 4 | +====== | |
| 5 | + | |
| 6 | +Computes spectrum for a given source. | |
| 7 | + | |
| 8 | + | |
| 9 | +Synopsis | |
| 10 | +-------- | |
| 11 | + | |
| 12 | +Computes spectral points for a given source. | |
| 13 | + | |
| 14 | + | |
| 15 | +General parameters | |
| 16 | +------------------ | |
| 17 | + | |
| 18 | +``(inobs = NONE) [file]`` | |
| 19 | + Input event list, counts cube or observation definition XML file. | |
| 20 | + | |
| 21 | +``inmodel [file]`` | |
| 22 | + Input source model XML file. | |
| 23 | + | |
| 24 | +``srcname [string]`` | |
| 25 | + Name of the source in the source model XML file which should be used | |
| 26 | + for sensitivity computation. | |
| 27 | + | |
| 28 | +``outfile [file]`` | |
| 29 | + Name of the source spectrum output file. | |
| 30 | + | |
| 31 | +``expcube [file]`` | |
| 32 | + Exposure cube file (only needed for stacked analysis). | |
| 33 | + | |
| 34 | +``psfcube [file]`` | |
| 35 | + PSF cube file (only needed for stacked analysis). | |
| 36 | + | |
| 37 | +``bkgcube [file]`` | |
| 38 | + Background cube file (only needed for stacked analysis). | |
| 39 | + | |
| 40 | +``caldb [string]`` | |
| 41 | + Calibration database. | |
| 42 | + | |
| 43 | +``irf [string]`` | |
| 44 | + Instrumental response function. | |
| 45 | + | |
| 46 | +``emin [real]`` | |
| 47 | + Lower energy limit of events (in TeV). | |
| 48 | + | |
| 49 | +``emax [real]`` | |
| 50 | + Upper energy limit of events (in TeV). | |
| 51 | + | |
| 52 | +``enumbins [integer]`` | |
| 53 | + Number of energy bins (0=unbinned). | |
| 54 | + | |
| 55 | +``(ebinalg = LOG) <FILE|LIN|LOG> [string]`` | |
| 56 | + Algorithm for defining energy bins. | |
| 57 | + | |
| 58 | +``binned [boolean]`` | |
| 59 | + Specifies whether a binned computation should be used. | |
| 60 | + | |
| 61 | +``(nebins = 5) [integer]`` | |
| 62 | + Number of bins per spectral point for binned analysis. | |
| 63 | + | |
| 64 | +``coordsys <CEL|GAL> [string]`` | |
| 65 | + Coordinate system (CEL - celestial, GAL - galactic). | |
| 66 | + | |
| 67 | +``proj <AIT|AZP|CAR|MER|MOL|STG|TAN> [string]`` | |
| 68 | + Projection method. | |
| 69 | + | |
| 70 | +``xref [real]`` | |
| 71 | + Right Ascension / Galactic longitude of image centre (J2000, in degrees). | |
| 72 | + | |
| 73 | +``yref [real]`` | |
| 74 | + Declination / Galactic latitude of image centre (J2000, in degrees). | |
| 75 | + | |
| 76 | +``nxpix [integer]`` | |
| 77 | + Size of the Right Ascension / Galactic longitude axis (in pixels). | |
| 78 | + | |
| 79 | +``nypix [integer]`` | |
| 80 | + Size of the Declination / Galactic latitude axis (in pixels). | |
| 81 | + | |
| 82 | +``binsz [real]`` | |
| 83 | + Pixel size (in degrees/pixel). | |
| 84 | + | |
| 85 | +``(calc_ts = yes) [boolean]`` | |
| 86 | + Compute TS for each spectral point. | |
| 87 | + | |
| 88 | +``(calc_ulim = yes) [boolean]`` | |
| 89 | + Compute upper limit for each spectral point. | |
| 90 | + | |
| 91 | +``(fix_srcs = yes) [boolean]`` | |
| 92 | + Fix other sky model parameters. | |
| 93 | + | |
| 94 | +``(fix_bkg = no) [boolean]`` | |
| 95 | + Fix background parameters. | |
| 96 | + | |
| 97 | + | |
| 98 | +Standard parameters | |
| 99 | +------------------- | |
| 100 | + | |
| 101 | +``(chatter = 2) [integer]`` | |
| 102 | + Verbosity of the executable: | |
| 103 | + chatter = 0: no information will be logged | |
| 104 | + | |
| 105 | + chatter = 1: only errors will be logged | |
| 106 | + | |
| 107 | + chatter = 2: errors and actions will be logged | |
| 108 | + | |
| 109 | + chatter = 3: report about the task execution | |
| 110 | + | |
| 111 | + chatter = 4: detailed report about the task execution | |
| 112 | + | |
| 113 | +``(clobber = yes) [boolean]`` | |
| 114 | + Specifies whether an existing output counts cube should be overwritten. | |
| 115 | + | |
| 116 | +``(debug = no) [boolean]`` | |
| 117 | + Enables debug mode. In debug mode the executable will dump any log file output to the console. | |
| 118 | + | |
| 119 | +``(mode = ql) [string]`` | |
| 120 | + Mode of automatic parameters (default is "ql", i.e. "query and learn"). | |
| 121 | + | |
| 122 | +``(logfile = csspec.log) [filename]`` | |
| 123 | + Log filename. | |
| 124 | + | |
| 125 | + | |
| 126 | +Related tools | |
| 127 | +------------- | |
| 128 | + | |
| 129 | +None | ... | ... |
doc/source/reference_manual/index.rst
| ... | ... | @@ -40,5 +40,6 @@ cscripts |
| 40 | 40 | csobsdef --- Generates observation definition file <csobsdef> |
| 41 | 41 | cspull --- Generates pull distribution <cspull> |
| 42 | 42 | cssens --- Computes CTA sensitivity <cssens> |
| 43 | + csspec --- Computes spectral points <csspec> | |
| 43 | 44 | csresmap --- Generates residual map <csresmap> |
| 44 | 45 | cstsdist --- Generates TS distribution <cstsdist> | ... | ... |