Ticket #60: input

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