source: trunk/InputComplete @ 1150

Last change on this file since 1150 was 1150, checked in by MatthewWhiting, 11 years ago

Initial updates to CHANGES for 1.3 (still could do with some fleshing out, perhaps). Updating InputComplete? for the default values of the new parameters.

File size: 13.4 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
[525]11# imageFile -- the FITS image.  THERE IS NO DEFAULT FOR THIS.
[3]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
[965]26flagSubsection  false
[3]27subsection      [*,*,*]
[965]28flagReconExists false
[71]29reconFile       your-reconstructed-file-here
[965]30flagSmoothExists false
[447]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.
[1150]44# flagWriteBinaryCatalogue -- whether to create a binary catalogue
45#                             indicating the pixel locations of
46#                             detected objects (for later reuse)
47# binaryCatalogue -- the file containing the binary source catalogue
[831]48# flagPlotSpectra -- whether to produce a file showing spectra of each detection
[3]49# spectraFile -- the postscript file of spectra
[1150]50# flagPlotIndividualSpectra -- whether to also write individual source
51#                              spectra postscript files
[425]52# flagTextSpectra -- whether to save a text file detailing the spectra
53#                    of each source
54# spectraTextFile -- the file in which to save the text-formatted spectra
[1121]55# flagOutputBaseline -- whether to save a FITS file containing the cube of baseline values
56# fileOutputBaseline -- the filename for the baseline FITS file. If not given, it defaults
57#                   to the format shown (for input file image.fits)
[680]58# flagOutputMomentMap -- whether to save a FITS file containing the moment-0 map
59# fileOutputMomentMap -- the filename for the moment-0 FITS file. If not given, it defaults
60#                   to the format shown (for input file image.fits)
[1150]61# flagOutputMomentMask -- whether to save a FITS file containing the
62#                         moment-0 mask image
63# fileOutputMomentMask -- the filename for the moment-0 mask FITS file. If not given, it defaults
64#                   to the format shown (for input file image.fits)
[386]65# flagOutputMask -- whether to save a FITS file containing a mask
66#                   array, showing the locations of detected objects
[525]67# fileOutputMask -- the filename for the mask file. If not given, it defaults
68#                   to the format shown (for input file image.fits)
[521]69# flagMaskWithObjectNum -- if true, the detected pixels in the mask array have
70#                          the object ID number, else they all have the value 1.
[211]71# flagOutputSmooth -- whether to save the smoothed arrays as a FITS file
[663]72# fileOutputSmooth -- the filename for the smoothed array file. If not given, it defaults
73#                     to the format shown (for input file image.fits). See documentation for
74#                     explanation of format.
[142]75# flagOutputRecon/Resid -- whether to save the reconstruction & residual arrays
76#                          as FITS files
[525]77# fileOutputRecon/Resid -- the filename for the reconstruction or residual files.
78#                          If not given, it defaults to the format shown (for input
79#                          file image.fits). See documentation for explanation of format.
[142]80# flagVOT -- make a VOTable file of the results? 
81# votFile -- the file to put it in
82# flagKarma -- make a Karma annotation file of the results? 
83# karmaFile -- the file to put it in
[1077]84# flagDS9 -- make a DS9 region file of the results? 
85# ds9File -- the file to put it in
[1150]86# flagCasa -- make a CASA region file of the results? 
87# casaFile -- the file to put it in
[17]88# flagMaps -- save postscript versions of the detection and 0th moment maps?
[3]89# detectionMap, momentMap -- the postscript files produced.
[195]90# flagXOutput -- display the moment map in a pgplot window
[447]91# newFluxUnits -- brightness units to convert the array values to
92#                 (eg. from Jy/beam to mJy/beam)   
93# precFlux -- Desired precision for Flux value in outputs.
94# precVel -- Desired precision for Velocity/Frequency value in outputs.
95# precSNR -- Desired precision for peak SNR value in ouputs.
[3]96
[965]97flagLog         false
[87]98logFile         duchamp-Logfile.txt
99outFile         duchamp-Results.txt
[965]100flagSeparateHeader false
[363]101headerFile      duchamp-Results.hdr
[1150]102flagWriteBinaryCatalogue true
103binaryCatalogue duchamp-Catalogue.dpc
[965]104flagPlotSpectra true
[87]105spectraFile     duchamp-Spectra.ps
[1150]106flagPlotIndividualSpectra false
[965]107flagTextSpectra false
[425]108spectraTextFile duchamp-Spectra.txt
[1121]109flagOutputBaseline  false
110fileOutputBaseline  image.BASE.fits
[965]111flagOutputMomentMap  false
[670]112fileOutputMomentMap  image.MOM0.fits
[1150]113flagOutputMomentMask  false
114fileOutputMomentMask  image.MOM0MASK.fits
[965]115flagOutputMask  false
[525]116fileOutputMask  image.MASK.fits
[965]117flagMaskWithObjectNum false
118flagOutputSmooth false
[525]119fileOutputSmooth image.SMOOTH-ND-X.fits
[965]120flagOutputRecon false
[525]121fileOutputRecon image.RECON-A-B-C-D.fits
[965]122flagOutputResid false
[525]123fileOutputResid image.RESID-A-B-C-D.fits
[965]124flagVOT         false
[87]125votFile         duchamp-Results.xml
[965]126flagKarma       false
[87]127karmaFile       duchamp-Results.ann
[1077]128flagDS9         false
129ds9File         duchamp-Results.reg
[1150]130flagCasa        false
131casaFile        duchamp-Results.crf
[965]132flagMaps        true
[87]133detectionMap    duchamp-DetectionMap.ps
134momentMap       duchamp-MomentMap.ps
[965]135flagXOutput     true
[447]136newFluxUnits    no-default
137precFlux        3
138precVel         3
139precSNR         2
[3]140
141# FIXING UP THE CUBE
[285]142# flagTrim -- whether to trim blank pixels from the edges of the cube.
[3]143# flagBaseline -- whether to subtract spectral baselines before searching
[142]144# flagMW -- ignore a range of channels (to remove Milky Way emission)?
145# minMW, maxMW -- the first and last channels to be ignored
[3]146
[965]147flagTrim        false
148flagMW          false
[3]149minMW           75
150maxMW           112
[965]151flagBaseline    false
[3]152
153# GENERAL DETECTION RELATED
[258]154# flagStatSec -- Whether to only use a subsection of the cube to calculate
155#                the statistics.
156# StatSec -- The subsection used for statistics calculations. It has the
157#            same format as the pixel subsection.
[386]158# flagRobustStats -- Shall we use robust statistics to characterise
159#                    the noise in the image?
[142]160# flagNegative -- Are the features being searched for negative (set to true)
161#                 or positive (false -- the default)?
[3]162# snrCut --  How many sigma above mean is a detection when sigma-clipping
[195]163# threshold -- The threshold flux dividing source and non-source. Used instead
164#              of calculating it from the cube's statistics. If not specified,
165#              it will be calculated.
[3]166# flagGrowth -- Should the detections be "grown" to a lower significance value?
167# growthCut -- The lower threshold used when growing detections
[483]168# growthThreshold -- The lower threshold, used in conjunction with "threshold"
[738]169# beamarea -- the area of the beam in pixels (equivalent to the old beamsize
170#             parameter). This value is overridden by the BMAJ, BMIN, BPA header
171#             parameters if present.
172# beamFWHM -- the full-width at half-maximum of the beam, in pixels. Where given,
173#             it overrides beamarea, but is overridden by the BMAJ, BMIN, BPA
174#             headers.
[686]175# searchType -- how the searching is done. Either "spatial", where each 2D map is
176#               searched then detections combined, or "spectral", where each 1D
177#               spectrum is searched then detections combined.
[3]178
[965]179flagStatSec     false
[258]180StatSec         [*,*,*]
[965]181flagRobustStats true
182flagNegative    false
[1025]183snrCut          5.
[195]184threshold       0.
[965]185flagGrowth      false
186growthCut       3.
[483]187growthThreshold 0.
[801]188beamArea        0.
189beamFWHM        0.
[686]190searchType      spatial
[3]191
192# RECONSTRUCTION RELATED
193# flagATrous -- Whether or not to do the reconstruction before searching
[142]194# reconDim -- The number of dimensions in which to perform the reconstruction.
195# scaleMin -- The minimum scale (starts at 1) to be included in the
196#              reconstruction
[363]197# scaleMax -- The maximum scale to be included in the reconstruction. If it
198#              is <=0 then the maximum scale is calculated from the size of
199#              the array being reconstructed.
[3]200# snrRecon -- The threshold used in filtering the wavelet coefficient arrays.
[1026]201# reconConvergence -- The relative change in the residual rms must be
202#                     less than this to stop the a trous iterations.
[142]203# filterCode -- The code number for the choice of filter to be used in the
204#               reconstruction:  1 = B3-spline filter, 2 = Triangle function,
205#                                3 = Haar wavelet. Other numbers default to 2.
[3]206
[279]207flagATrous      false
[258]208reconDim        1
[3]209scaleMin        1
[363]210scaleMax        0
[71]211snrRecon        4.
[1026]212reconConvergence 0.005
[106]213filterCode      1
[3]214
[275]215# SMOOTHING
216# flagSmooth -- whether to smooth the cube.
217# smoothType -- either "spectral" or "spatial"
218# hanningWidth -- the width parameter of the Hanning (spectral smoothing)
219#                 function
220# kernMaj -- the FWHM of the major axis of the 2D spatial smoothing gaussian
221# kernMin -- the FWHM of the minor axis of the 2D spatial smoothing gaussian
222# kernPA  -- the position angle of the major axis of the 2D spatial
223#            smoothing gaussian
[211]224
225flagSmooth      false
[275]226smoothType      spectral
[211]227hanningWidth    5
[275]228kernMaj         3.
[965]229kernMin         -1.
[275]230kernPA          0.
[211]231
[3]232# FALSE DISCOVERY RATE METHOD
233# flagFDR -- Whether or not to use the false discovery rate method instead of
234#   simple sigma clipping.
[142]235# alphaFDR -- The "alpha" parameter for the FDR method -- what desired
236#             percentage of discoveries will be false. Expressed as a decimal.
[543]237# FDRnumCorChan -- The number of neighbouring channels that are
238#                  correlated. This is used in the FDR algorithm
[3]239
[965]240flagFDR         false
[71]241alphaFDR        0.01
[543]242FDRnumCorChan   2
[3]243
244# MERGING PARAMETERS
[142]245# flagAdjacent -- Whether to use the "adjacent criterion" to judge if objects
246#                  are to be merged.
247# threshSpatial -- If flagAdjacent=false, this is the maximum spatial
248#                   separation between objects for them to be merged.
249# threshVelocity -- The maximum channel separation between objects for them
250#                   to be merged.
251# minChannels -- The minimum number of consecutive channels an object must have
252#                 for it to be accepted.
253# minPix -- Minimum number of spatial pixels a detected object must have for
254#            it to be counted
[720]255# minVoxels -- Minimum number of voxels a detected object must have for it to be
256#              counted
[672]257# flagRejectBeforeMerge -- If true, reject sources for not meeting the above
258#                          criteria before the merging stage
[691]259# flagTwoStageMerging -- If true, do an initial merge of a new source to the list
260#                        (that is, merge it with the first source in the list that
261#                        is close, but stop there)
[3]262
[965]263flagAdjacent           true
[691]264threshSpatial          3
265threshVelocity         7
266minChannels            3
267minPix                 2
[720]268minVoxels              4
[965]269flagRejectBeforeMerge  false
270flagTwoStageMerging    true
[3]271
[965]272# WCS PARAMETERS
273#
274# spectralType -- an alternative spectral WCS type to use for spectral
275#                 transformations.
276# restFrequency -- a value of the rest frequency to override any
277#                  provided in the FITS header
278# spectralUnits -- what units you want the spectral axis to be plotted in and
279#                   values quoted in (including the units of integrated flux)
280
281spectralType   no-default
282restFrequency  -1
283spectralUnits  no-default
284
[3]285# OTHER PARAMETERS
[142]286# verbose -- whether to provide progress indicators on the terminal during
287#             execution
288# drawBorders -- whether to draw borders around the detections on the moment
289#                 maps in the output.
290# drawBlankEdges -- whether to draw an outline around any BLANK regions in the
291#                    moment maps and image cutouts.
292# spectralMethod -- how to plot the spectra in the output -- the spectrum of
293#                    the peak pixel ("peak" -- the default), or integrated over
294#                    all spatial pixels present ("sum")
[285]295# pixelCentre -- which option to use for quoting the centre of the detection.
296#                 Options are: centroid, average, peak.
[571]297# sortingParam -- which parameter to sort the final detection list on.
[965]298#                  Options are: xvalue, yvalue, zvalue, ra, dec, vel, w50,
[572]299#                                iflux,  pflux, snr.
[142]300
[965]301verbose         true
302drawBorders     true
303drawBlankEdges  true
[64]304spectralMethod  peak
[363]305pixelCentre     centroid
[571]306sortingParam    vel
Note: See TracBrowser for help on using the repository browser.