source: tags/release-1.1.2/InputComplete

Last change on this file was 386, checked in by MatthewWhiting, 17 years ago

Updated docs to account for better stats description, plus new parameters.

File size: 7.7 KB
Line 
1# FULL PARAMETER LIST
2# -------------------
3#
4# This file contains the full list of user-definable parameters. They are
5#  grouped here according to their use, and the values quoted are the defaults:
6#  if a given parameter is not included in your parameter file, this is the
7#  value it will take.
8#
9#
10# INPUT RELATED
11# imageFile -- the FITS image.
12# flagSubsection -- whether to get a subsection of that image.
13# subsection -- the subsection to read in, in format [x1:x2,y1:y2,z1:z2],
14#               or * to indicate the full range
15# flagReconExists -- set to true if the reconstructed cube exists as a FITS
16#                    file (ie. it has been saved from a previous Duchamp run)
17# reconFile -- the location of the FITS file containing the reconstructed cube
18# flagSmoothExists -- set to true if the smoothed cube exists as a FITS
19#                    file (ie. it has been saved from a previous Duchamp run)
20# smoothFile -- the location of the FITS file containing the smoothed cube
21
22imageFile       your-file-here
23flagSubsection  0
24subsection      [*,*,*]
25flagReconExists 0
26reconFile       your-reconstructed-file-here
27flagReconExists 1
28reconFile       your-smoothed-file-here
29
30# OUTPUT RELATED
31# flagLog -- log the intermediate results?   
32# logfile-- the file to put that in.
33# outFile -- the final output list.
34# flagSeparateHeader -- whether to write the header information
35#                        (i.e. parameters, statistics and number of detections)
36#                        to a separate file from the outFile (so that the
37#                        outFile just contains the table of detections).
38# headerFile -- the file to write the header information to.
39# spectraFile -- the postscript file of spectra
40# flagOutputMask -- whether to save a FITS file containing a mask
41#                   array, showing the locations of detected objects
42# flagOutputSmooth -- whether to save the smoothed arrays as a FITS file
43# flagOutputRecon/Resid -- whether to save the reconstruction & residual arrays
44#                          as FITS files
45# flagVOT -- make a VOTable file of the results? 
46# votFile -- the file to put it in
47# flagKarma -- make a Karma annotation file of the results? 
48# karmaFile -- the file to put it in
49# flagMaps -- save postscript versions of the detection and 0th moment maps?
50# detectionMap, momentMap -- the postscript files produced.
51# flagXOutput -- display the moment map in a pgplot window
52
53flagLog         0
54logFile         duchamp-Logfile.txt
55outFile         duchamp-Results.txt
56flagSeparateHeader 0
57headerFile      duchamp-Results.hdr
58spectraFile     duchamp-Spectra.ps
59flagOutputMask  0
60flagOutputSmooth 0
61flagOutputRecon 0
62flagOutputResid 0
63flagVOT         0
64votFile         duchamp-Results.xml
65flagKarma       0
66karmaFile       duchamp-Results.ann
67flagMaps        1
68detectionMap    duchamp-DetectionMap.ps
69momentMap       duchamp-MomentMap.ps
70flagXOutput     1
71
72# FIXING UP THE CUBE
73# flagTrim -- whether to trim blank pixels from the edges of the cube.
74# blankPixValue -- what value they should take. This is overridden by
75#                  FITS header information.
76# flagBaseline -- whether to subtract spectral baselines before searching
77# flagMW -- ignore a range of channels (to remove Milky Way emission)?
78# minMW, maxMW -- the first and last channels to be ignored
79
80flagTrim        0
81blankPixValue   -8.00061
82flagMW          0
83minMW           75
84maxMW           112
85flagBaseline    0
86
87# GENERAL DETECTION RELATED
88# flagStatSec -- Whether to only use a subsection of the cube to calculate
89#                the statistics.
90# StatSec -- The subsection used for statistics calculations. It has the
91#            same format as the pixel subsection.
92# flagRobustStats -- Shall we use robust statistics to characterise
93#                    the noise in the image?
94# flagNegative -- Are the features being searched for negative (set to true)
95#                 or positive (false -- the default)?
96# snrCut --  How many sigma above mean is a detection when sigma-clipping
97# threshold -- The threshold flux dividing source and non-source. Used instead
98#              of calculating it from the cube's statistics. If not specified,
99#              it will be calculated.
100# flagGrowth -- Should the detections be "grown" to a lower significance value?
101# growthCut -- The lower threshold used when growing detections
102
103flagStatSec     0
104StatSec         [*,*,*]
105flagRobustStats 1
106flagNegative    0
107snrCut          3.
108threshold       0.
109flagGrowth      0
110growthCut       2.
111
112# RECONSTRUCTION RELATED
113# flagATrous -- Whether or not to do the reconstruction before searching
114# reconDim -- The number of dimensions in which to perform the reconstruction.
115# scaleMin -- The minimum scale (starts at 1) to be included in the
116#              reconstruction
117# scaleMax -- The maximum scale to be included in the reconstruction. If it
118#              is <=0 then the maximum scale is calculated from the size of
119#              the array being reconstructed.
120# snrRecon -- The threshold used in filtering the wavelet coefficient arrays.
121# filterCode -- The code number for the choice of filter to be used in the
122#               reconstruction:  1 = B3-spline filter, 2 = Triangle function,
123#                                3 = Haar wavelet. Other numbers default to 2.
124
125flagATrous      false
126reconDim        1
127scaleMin        1
128scaleMax        0
129snrRecon        4.
130filterCode      1
131
132# SMOOTHING
133# flagSmooth -- whether to smooth the cube.
134# smoothType -- either "spectral" or "spatial"
135# hanningWidth -- the width parameter of the Hanning (spectral smoothing)
136#                 function
137# kernMaj -- the FWHM of the major axis of the 2D spatial smoothing gaussian
138# kernMin -- the FWHM of the minor axis of the 2D spatial smoothing gaussian
139# kernPA  -- the position angle of the major axis of the 2D spatial
140#            smoothing gaussian
141
142flagSmooth      false
143smoothType      spectral
144hanningWidth    5
145kernMaj         3.
146kernMin         3.
147kernPA          0.
148
149# FALSE DISCOVERY RATE METHOD
150# flagFDR -- Whether or not to use the false discovery rate method instead of
151#   simple sigma clipping.
152# alphaFDR -- The "alpha" parameter for the FDR method -- what desired
153#             percentage of discoveries will be false. Expressed as a decimal.
154
155flagFDR         0
156alphaFDR        0.01
157
158# MERGING PARAMETERS
159# flagAdjacent -- Whether to use the "adjacent criterion" to judge if objects
160#                  are to be merged.
161# threshSpatial -- If flagAdjacent=false, this is the maximum spatial
162#                   separation between objects for them to be merged.
163# threshVelocity -- The maximum channel separation between objects for them
164#                   to be merged.
165# minChannels -- The minimum number of consecutive channels an object must have
166#                 for it to be accepted.
167# minPix -- Minimum number of spatial pixels a detected object must have for
168#            it to be counted
169
170flagAdjacent    1
171threshSpatial   3
172threshVelocity  7
173minChannels     3
174minPix          2
175
176# OTHER PARAMETERS
177# verbose -- whether to provide progress indicators on the terminal during
178#             execution
179# drawBorders -- whether to draw borders around the detections on the moment
180#                 maps in the output.
181# drawBlankEdges -- whether to draw an outline around any BLANK regions in the
182#                    moment maps and image cutouts.
183# spectralMethod -- how to plot the spectra in the output -- the spectrum of
184#                    the peak pixel ("peak" -- the default), or integrated over
185#                    all spatial pixels present ("sum")
186# spectralUnits -- what units you want the spectral axis to be plotted in and
187#                   values quoted in (including the units of integrated flux)
188# pixelCentre -- which option to use for quoting the centre of the detection.
189#                 Options are: centroid, average, peak.
190
191verbose         1
192drawBorders     1
193drawBlankEdges  1
194spectralMethod  peak
195spectralUnits   km/s
196pixelCentre     centroid
Note: See TracBrowser for help on using the repository browser.