source: trunk/InputComplete @ 663

Last change on this file since 663 was 663, checked in by MatthewWhiting, 14 years ago

Adding defaults for new parameters and putting them in the InputComplete? list.

File size: 10.0 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# fileOutputSmooth -- 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.
146beamArea        -1.
147beamFWHM        3.
148
149# RECONSTRUCTION RELATED
150# flagATrous -- Whether or not to do the reconstruction before searching
151# reconDim -- The number of dimensions in which to perform the reconstruction.
152# scaleMin -- The minimum scale (starts at 1) to be included in the
153#              reconstruction
154# scaleMax -- The maximum scale to be included in the reconstruction. If it
155#              is <=0 then the maximum scale is calculated from the size of
156#              the array being reconstructed.
157# snrRecon -- The threshold used in filtering the wavelet coefficient arrays.
158# filterCode -- The code number for the choice of filter to be used in the
159#               reconstruction:  1 = B3-spline filter, 2 = Triangle function,
160#                                3 = Haar wavelet. Other numbers default to 2.
161
162flagATrous      false
163reconDim        1
164scaleMin        1
165scaleMax        0
166snrRecon        4.
167filterCode      1
168
169# SMOOTHING
170# flagSmooth -- whether to smooth the cube.
171# smoothType -- either "spectral" or "spatial"
172# hanningWidth -- the width parameter of the Hanning (spectral smoothing)
173#                 function
174# kernMaj -- the FWHM of the major axis of the 2D spatial smoothing gaussian
175# kernMin -- the FWHM of the minor axis of the 2D spatial smoothing gaussian
176# kernPA  -- the position angle of the major axis of the 2D spatial
177#            smoothing gaussian
178
179flagSmooth      false
180smoothType      spectral
181hanningWidth    5
182kernMaj         3.
183kernMin         3.
184kernPA          0.
185
186# FALSE DISCOVERY RATE METHOD
187# flagFDR -- Whether or not to use the false discovery rate method instead of
188#   simple sigma clipping.
189# alphaFDR -- The "alpha" parameter for the FDR method -- what desired
190#             percentage of discoveries will be false. Expressed as a decimal.
191# FDRnumCorChan -- The number of neighbouring channels that are
192#                  correlated. This is used in the FDR algorithm
193
194flagFDR         0
195alphaFDR        0.01
196FDRnumCorChan   2
197
198# MERGING PARAMETERS
199# flagAdjacent -- Whether to use the "adjacent criterion" to judge if objects
200#                  are to be merged.
201# threshSpatial -- If flagAdjacent=false, this is the maximum spatial
202#                   separation between objects for them to be merged.
203# threshVelocity -- The maximum channel separation between objects for them
204#                   to be merged.
205# minChannels -- The minimum number of consecutive channels an object must have
206#                 for it to be accepted.
207# minPix -- Minimum number of spatial pixels a detected object must have for
208#            it to be counted
209
210flagAdjacent    1
211threshSpatial   3
212threshVelocity  7
213minChannels     3
214minPix          2
215
216# OTHER PARAMETERS
217# verbose -- whether to provide progress indicators on the terminal during
218#             execution
219# drawBorders -- whether to draw borders around the detections on the moment
220#                 maps in the output.
221# drawBlankEdges -- whether to draw an outline around any BLANK regions in the
222#                    moment maps and image cutouts.
223# spectralMethod -- how to plot the spectra in the output -- the spectrum of
224#                    the peak pixel ("peak" -- the default), or integrated over
225#                    all spatial pixels present ("sum")
226# spectralUnits -- what units you want the spectral axis to be plotted in and
227#                   values quoted in (including the units of integrated flux)
228# pixelCentre -- which option to use for quoting the centre of the detection.
229#                 Options are: centroid, average, peak.
230# sortingParam -- which parameter to sort the final detection list on.
231#                  Options are: x-value, y-value, z-value, ra, dec, vel, w50,
232#                                iflux,  pflux, snr.
233
234verbose         1
235drawBorders     1
236drawBlankEdges  1
237spectralMethod  peak
238spectralUnits   km/s
239pixelCentre     centroid
240sortingParam    vel
Note: See TracBrowser for help on using the repository browser.