source: trunk/docs/app-param.tex @ 297

Last change on this file since 297 was 294, checked in by Matthew Whiting, 17 years ago

Added a -x option to the command-line so that one can manually override the flagXOutput setting and disable the PGPLOT X-window plotting (Ticket #10).

File size: 12.1 KB
Line 
1\secA{Available parameters}
2\label{app-param}
3
4The full list of parameters that can be listed in the input file are
5given here. If not listed, they take the default value given in
6parentheses. Since the order of the parameters in the input file does
7not matter, they are grouped here in logical sections.
8
9\secB*{Input related}
10\begin{entry}
11\item[ImageFile (no default assumed)] The filename of the
12  data cube to be analysed.
13\item[flagSubsection \texttt{[false]}] A flag to indicate whether one
14  wants a subsection of the requested image.
15\item[Subsection \texttt{[ [*,*,*] ]}] The requested subsection
16 -- see \S\ref{sec-input} for details on the subsection format.  If
17 the full range of a dimension is required, use a \texttt{*} (thus the
18 default is the full cube).
19\item[flagReconExists \texttt{[false]}] A flag to indicate whether the
20  reconstructed array has been saved by a previous run of \duchamp. If
21  set true, the reconstructed array will be read from the file given
22  by \texttt{reconFile}, rather than calculated directly.
23\item[reconFile (no default assumed)] The FITS file that contains the
24  reconstructed array. If \texttt{flagReconExists} is true and this
25  parameter is not defined, the default file that is looked for will
26  be determined by the \atrous parameters (see \S\ref{sec-recon}).
27\item[flagSmoothExists \texttt{[false]}] A flag to indicate whether the
28  Hanning-smoothed array has been saved by a previous run of \duchamp. If
29  set true, the smoothed array will be read from the file given
30  by \texttt{smoothFile}, rather than calculated directly.
31\item[smoothFile (no default assumed)] The FITS file that contains the
32  Hanning-smoothed array. If \texttt{flagSmoothExists} is true and
33  this parameter is not defined, the default file that is looked for
34  will be determined by the Hanning width parameter (see
35  \S\ref{sec-smoothing}).
36\end{entry}
37
38\secB*{Output related}
39\begin{entry}
40\item[OutFile \texttt{[duchamp-Results.txt]}] The file containing the
41  final list of detections. This also records the list of input
42  parameters.
43\item[SpectraFile \texttt{[duchamp-Spectra.ps]}] The postscript file
44  containing the resulting integrated spectra and images of the
45  detections.
46\item[flagLog \texttt{[false]}] A flag to indicate whether the
47  details of intermediate detections should be logged.
48\item[LogFile \texttt{[duchamp-Logfile.txt]}] The file in which
49  intermediate detections are logged. These are detections that have
50  not been merged. This is primarily for use in debugging and
51  diagnostic purposes -- normal use of the program will probably not
52  require this.
53\item[flagOutputRecon \texttt{[false]}] A flag to say whether or not
54  to save the reconstructed cube as a FITS file. The filename will be
55  derived according to the naming scheme detailed in
56  Section~\ref{sec-reconIO}.
57\item[flagOutputResid \texttt{[false]}] As for
58  \texttt{flagOutputRecon}, but for the residual array -- the
59  difference between the original cube and the reconstructed cube. The
60  filename will be derived according to the naming scheme detailed in
61  Section~\ref{sec-reconIO}.
62\item[flagOutputSmooth \texttt{[false]}] A flag to say whether or not
63  to save the smoothed cube as a FITS file. The filename will be
64  derived according to the naming scheme detailed in
65  Section~\ref{sec-smoothing}.
66\item[flagVOT \texttt{[false]}] A flag to say whether to create a
67  VOTable file corresponding to the information in
68  \texttt{outfile}. This will be an XML file in the Virtual
69  Observatory VOTable format.
70\item[votFile \texttt{[duchamp-Results.xml]}] The VOTable file with
71  the list of final detections. Some input parameters are also
72  recorded.
73\item[flagKarma \texttt{[false]}] A flag to say whether to create a
74  Karma annotation file corresponding to the information in
75  \texttt{outfile}. This can be used as an overlay for the Karma
76  programs such as \texttt{kvis}.
77\item[karmaFile \texttt{[duchamp-Results.ann]}] The Karma annotation
78  file showing the list of final detections.
79\item[flagMaps \texttt{[true]}] A flag to say whether to save
80  postscript files showing the 0th moment map of the whole cube
81  (parameter \texttt{momentMap}) and the detection image
82  (\texttt{detectionMap}).
83\item[momentMap \texttt{[duchamp-MomentMap.ps]}] A postscript file
84  containing a map of the 0th moment of the detected sources, as well
85  as pixel and WCS coordinates.
86\item[detectionMap \texttt{[duchamp-DetectionMap.ps]}] A postscript
87  file showing each of the detected objects, coloured in greyscale by
88  the number of channels spanned by each pixel. Also shows pixel and
89  WCS coordinates.
90\item[flagXOutput \texttt{[true]}] A flag to say whether to display a
91  0th moment map in a PGPlot X-window. This will be in addition to any
92  that are saved to a file. This parameter can be overridden by the
93  use of the \texttt{-x} command-line option, which disables the
94  X-windows output.
95\end{entry}
96
97\secB*{Modifying the cube}
98\begin{entry}
99\item[flagTrim \texttt{[false]}] A flag to say whether to trim
100  BLANK pixels from the edges of the cube -- these are typically
101  pixels set to some particular value because they fall outside the
102  imaged area, and trimming them can help speed up the execution.
103\item[flagMW \texttt{[false]}] A flag to say whether to ignore
104  channels contaminated by Milky Way (or other) emission -- the
105  searching algorithms will not look at these channels.
106\item[maxMW \texttt{[112]}] The maximum channel number that contains
107  ``Milky Way'' emission.
108\item[minMW \texttt{[75]}] The minimum channel number that contains
109  ``Milky Way'' emission. Note that the range specified by
110  \texttt{maxMW} and \texttt{minMW} is inclusive.
111\item[flagBaseline \texttt{[false]}] A flag to say whether to remove
112  the baseline from each spectrum in the cube for the purposes of
113  reconstruction and detection.
114\end{entry}
115
116\secB*{Detection related}
117
118\secC*{General detection}
119\begin{entry}
120\item[flagStatSec \texttt{[false]}] A flag indicating whether the
121  statistics should be calculated on a subsection of the cube, rather
122  than the full cube. Note that this only applies to the statistics
123  used to determine the threshold, and not for other statistical
124  calculations (such as those in the reconstruction phase).
125\item[StatSec \texttt{[ [*,*,*] ]}] The subsection of the cube used
126  for calculating statistics -- see \S\ref{sec-input} for details on
127 the subsection format. Only used if \texttt{flagStatSec=true}.
128\item[flagNegative \texttt{[false]}] A flag indicating that the
129  features being searched for are negative. The cube will be inverted
130  prior to searching.
131\item[snrCut \texttt{[3.]}] The cut-off value for thresholding, in
132  terms of number of $\sigma$ above the mean.
133\item[threshold (no default assumed)] The actual value of the
134  threshold. Normally the threshold is calculated from the cube's
135  statistics, but the user can manually specify a value to be used
136  that overrides the calculated value. If this is not specified, the
137  calculated value is used. Also, when the FDR method is requested
138  (see below), the value of the \texttt{threshold} parameter is
139  ignored.
140\item[flagGrowth \texttt{[false]}] A flag indicating whether or not to
141  grow the detected objects to a smaller threshold.
142\item[growthCut \texttt{[2.]}] The smaller threshold using in growing
143  detections. In units of $\sigma$ above the mean.
144\item[beamSize \texttt{[10.]}] The size of the beam in pixels. If the
145  header keywords BMAJ and BMIN are present, then these will be used
146  to calculate the beam size, and this parameter will be ignored.
147\end{entry}
148
149\secC*{\Atrous reconstruction}
150\begin{entry}
151\item [flagATrous \texttt{[false]}] A flag indicating whether or not to
152  reconstruct the cube using the \atrous wavelet
153  reconstruction. See \S\ref{sec-recon} for details.
154\item[reconDim \texttt{[1]}] The number of dimensions to use in the
155  reconstruction. 1 means reconstruct each spectrum separately, 2
156  means each channel map is done separately, and 3 means do the whole
157  cube in one go.
158\item[scaleMin \texttt{[1]}] The minimum wavelet scale to be used in the
159  reconstruction. A value of 1 means ``use all scales''.
160\item[snrRecon \texttt{[4]}] The thresholding cutoff used in the
161  reconstruction -- only wavelet coefficients this many $\sigma$ above
162  the mean (or greater) are included in the reconstruction.
163\item[filterCode \texttt{[1]}] The code number of the filter to use in
164  the reconstruction. The options are:
165  \begin{itemize}
166  \item \textbf{1:} B$_3$-spline filter: coefficients =
167    $(\frac{1}{16}, \frac{1}{4}, \frac{3}{8}, \frac{1}{4}, \frac{1}{16})$
168  \item \textbf{2:} Triangle filter: coefficients =
169    $(\frac{1}{4}, \frac{1}{2}, \frac{1}{4})$
170  \item \textbf{3:} Haar wavelet: coefficients =
171    $(0, \frac{1}{2}, \frac{1}{2})$
172  \end{itemize}
173\end{entry}
174
175\secC*{Smoothing the cube}
176\begin{entry}
177\item [flagSmooth \texttt{[false]}] A flag indicating whether to
178  smooth the cube. See \S\ref{sec-smoothing} for details.
179\item [smoothType \texttt{[spectral]}] The type of smoothing to be
180done: either ``spectral'' (one-dimensional Hanning smoothing) or
181``spatial'' (two-dimensional Gaussian smoothing).
182\item [hanningWidth \texttt{[5]}] The width of the Hanning smoothing
183kernel.
184\item [kernMaj \texttt{[3]}] The full-width-half-maximum (FWHM) of the
185major axis of the 2D Gaussian smoothing kernel.
186\item [kernMin \texttt{[3]}] The FWHM of the minor axis of the 2D
187Gaussian smoothing kernel.
188\item [kernPA \texttt{[0]}] The position angle, in degrees,
189anticlockwise from vertical (\ie usually East of North).
190\end{entry}
191
192\secC*{FDR method}
193\begin{entry}
194\item[flagFDR \texttt{[false]}] A flag indicating whether or not to use
195  the False Discovery Rate method in thresholding the pixels.
196\item[alphaFDR \texttt{[0.01]}] The $\alpha$ parameter used in the FDR
197analysis. The average number of false detections, as a fraction of the
198total number, will be less than $\alpha$ (see \S\ref{sec-detection}).
199\end{entry}
200
201\secC*{Merging detections}
202\begin{entry}
203\item[minPix \texttt{[2]}] The minimum number of spatial pixels for a
204  single detection to be counted.
205\item[minChannels \texttt{[3]}] The minimum number of consecutive
206  channels that must be present in a detection.
207\item[flagAdjacent \texttt{[true]}] A flag indicating whether to use
208  the ``adjacent pixel'' criterion to decide whether to merge
209  objects. If not, the next two parameters are used to determine
210  whether objects are within the necessary thresholds.
211\item[threshSpatial \texttt{[3.]}] The maximum allowed minimum spatial
212  separation (in pixels) between two detections for them to be merged
213  into one. Only used if \texttt{flagAdjacent = false}.
214\item[threshVelocity \texttt{[7.]}] The maximum allowed minimum channel
215  separation between two detections for them to be merged into
216  one.
217\end{entry}
218
219\secC*{Other parameters}
220\begin{entry}
221\item[spectralMethod \texttt{[peak]}] This indicates which method is used
222  to plot the output spectra: \texttt{peak} means plot the spectrum
223  containing the detection's peak pixel; \texttt{sum} means sum the
224  spectra of each detected spatial pixel, and correct for the beam
225  size. Any other choice defaults to \texttt{peak}.
226\item[spectralUnits \texttt{[km/s]}] The user can specify the units of
227  the spectral axis. Assuming the WCS of the FITS file is valid, the
228  spectral axis is transformed into velocity, and put into these units
229  for all output and for calculations such as the integrated flux of a
230  detection.
231\item[pixelCentre \texttt{[centroid]}] Which of the three ways of
232  expressing the ``centre'' of a detection (see \S\ref{sec-results}
233  for a description of the options) to use for the X, Y, \& Z
234  columns in the output list. Alternatives are: \texttt{centroid, peak,
235  average}.
236\item[drawBorders \texttt{[true]}] A flag indicating whether borders
237  are to be drawn around the detected objects in the moment maps
238  included in the output (see for example Fig.~\ref{fig-spect}).
239\item[drawBlankEdges \texttt{[true]}] A flag indicating whether to
240 draw the dividing line between BLANK and non-BLANK pixels on the
241 2-dimensional images (see for example Fig.~\ref{fig-moment}).
242\item[verbose \texttt{[true]}] A flag indicating whether to print the
243  progress of any computationally-intensive algorithms (\eg
244  reconstruction, searching or merging algorithms) to the screen.
245\end{entry}
246
Note: See TracBrowser for help on using the repository browser.