source: trunk/InputComplete @ 425

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

Documenting recent changes, and upping the version numbers to 1.1.4.

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