source: tags/release-1.1.7/InputComplete

Last change on this file was 525, checked in by MatthewWhiting, 15 years ago

Changes related to ticket #17: allowing the specification of output names for the various fits files. Also associated documentation.

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