csspec.par
3.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#############################################################################
# #
# CTA Science Analysis Tools #
# #
# ------------------------------------------------------------------------- #
# #
# File: csspec.par #
# #
# Author: Juergen Knoedlseder #
# Jurgen.Knodlseder@irap.omp.eu #
# IRAP #
# #
# Purpose: Parameter file for the csspec script #
# #
#############################################################################
#
# Input and output parameters
#============================
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 definition XML file"
srcname, s, a, Crab,,, "Source name"
expcube, f, a, NONE,,, "Input exposure cube file"
psfcube, f, a, NONE,,, "Input PSF cube file"
edispcube, f, a, NONE,,, "Input energy dispersion cube file"
bkgcube, f, a, NONE,,, "Input background cube file"
caldb, s, a, prod2,,, "Calibration database"
irf, s, a, South_0.5h,,, "Instrument response function"
edisp, b, h, no,,, "Apply energy dispersion?"
outfile, f, a, spectrum.fits,,, "Output spectrum file"
#
# Script parameters
#==================
method, s, a, AUTO,SLICE|NODES|BINS|AUTO,, "Spectrum generation method"
ebinalg, s, a, LOG,FILE|LIN|LOG|POW,, "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"
enumbins, i, a, 20,1,200, "Number of energy bins"
ebinfile, f, a, NONE,,, "Name of the file containing the energy bin definition"
ebingamma, r, a, 1.0,,, "Exponent for POW energy node definition"
statistic, s, h, DEFAULT,DEFAULT|CSTAT|WSTAT|CHI2,, "Optimization statistic"
calc_ts, b, h, yes,,, "Compute TS value in each bin"
calc_ulim, b, h, yes,,, "Compute upper limit in each bin"
fix_srcs, b, h, yes,,, "Fix other skymodel parameters"
fix_bkg, b, h, no,,, "Fix background parameters"
bingamma, r, h, -2.0,,, "Spectral index for BINS method"
dll_sigstep, r, h, 0.0,0.0,100.0, "Step size in standard deviations for log-like profiles"
dll_sigmax, r, h, 5.0,1.0,100.0, "Maximum number of standard deviations for log-like profiles"
dll_freenodes, b, h, no,,, "Free nodes not being fit when computing log-like profiles"
#
# Standard parameters
#====================
nthreads, i, h, 0,0,1000, "Number of parallel processes (0=use all available CPUs)"
publish, b, h, no,,, "Publish spectrum on VO Hub?"
chatter, i, h, 2,0,4, "Chattiness of output"
clobber, b, h, yes,,, "Overwrite existing output files with new output files?"
debug, b, h, no,,, "Activate debugging mode?"
mode, s, h, ql,,, "Mode of automatic parameters"
logfile, f, h, csspec.log,,, "Log filename"