source: trunk/InputComplete @ 500

Last change on this file since 500 was 483, checked in by MatthewWhiting, 16 years ago

Updated the input parameter list in InputComplete?

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