source: tags/release-1.1.5/InputComplete

Last change on this file was 447, checked in by MatthewWhiting, 16 years ago

Completing documentation, and incrementing version number ready for next release.

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