source: trunk/docs/app-paramEx.tex @ 1262

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

Updating the documentation to describe the new flaggedChannels functionality.

File size: 6.2 KB
Line 
1% -----------------------------------------------------------------------
2% app-paramEx.tex: Example input parameter files, and how the
3%                  parameters are listed in the output.
4% -----------------------------------------------------------------------
5% Copyright (C) 2006, Matthew Whiting, ATNF
6%
7% This program is free software; you can redistribute it and/or modify it
8% under the terms of the GNU General Public License as published by the
9% Free Software Foundation; either version 2 of the License, or (at your
10% option) any later version.
11%
12% Duchamp is distributed in the hope that it will be useful, but WITHOUT
13% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14% FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15% for more details.
16%
17% You should have received a copy of the GNU General Public License
18% along with Duchamp; if not, write to the Free Software Foundation,
19% Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
20%
21% Correspondence concerning Duchamp may be directed to:
22%    Internet email: Matthew.Whiting [at] atnf.csiro.au
23%    Postal address: Dr. Matthew Whiting
24%                    Australia Telescope National Facility, CSIRO
25%                    PO Box 76
26%                    Epping NSW 1710
27%                    AUSTRALIA
28% -----------------------------------------------------------------------
29\secA{Example parameter files}
30\label{app-input}
31
32This is what a typical parameter file would look like.
33
34\begin{verbatim}
35imageFile       /home/mduchamp/fountain.fits
36logFile         logfile.txt
37outFile         results.txt
38spectraFile     spectra.ps
39flagSubsection  false
40flagOutputRecon false
41flagOutputResid 0
42flagTrim        1
43flaggedChannels 75-112
44flagGrowth      1
45growthCut       1.5
46flagATrous      1
47reconDim        1         
48scaleMin        1
49snrRecon        4
50flagFDR         1
51alphaFDR        0.1
52snrCut          3
53threshSpatial   3
54threshVelocity  7
55\end{verbatim}
56
57Note that, as in this example, the flag parameters can be entered as
58strings (\texttt{true}/\texttt{false}) or integers
59(\texttt{1}/\texttt{0}). Also, note that it is not necessary to
60include all these parameters in the file, only those that need to be
61changed from the defaults (as listed in Appendix~\ref{app-param}),
62which in this case would be very few. A minimal parameter file might
63look like:
64\begin{verbatim}
65imageFile       /home/mduchamp/fountain.fits
66flagLog         false
67flagATrous      1
68snrRecon        3
69snrCut          2.5
70minChannels     4
71\end{verbatim}
72This will reconstruct the cube with a lower SNR value than the
73default, select objects at a lower threshold,  with a looser minimum
74channel requirement, and not keep a log of the intermediate
75detections.
76
77The following page demonstrates how the parameters are presented to
78the user, both on the screen at execution time, and in the output and
79log files. On each line, there is a description on the parameter, the
80relevant parameter name that is used in the input file (if there is
81one that the user can enter), and the value of the parameter being
82used.
83
84\newpage
85{\scriptsize
86\begin{verbatim}
87---- Parameters ----
88Image to be analysed.........................[imageFile]  =  fountain.fits
89Intermediate Logfile...........................[logFile]  =  duchamp-Logfile.txt
90Final Results file.............................[outFile]  =  duchamp-Results.txt
91Header for results file.....................[headerFile]  =  duchamp-Results.hdr
92Spectrum file..............................[spectraFile]  =  duchamp-Spectra.ps
93Text file with ascii spectral data.....[spectraTextFile]  =  duchamp-Spectra.txt
94VOTable file...................................[votFile]  =  duchamp-Results.xml
95Karma annotation file........................[karmaFile]  =  duchamp-Results.ann
96DS9 annotation file............................[ds9File]  =  duchamp-Results.reg
970th Moment Map...............................[momentMap]  =  duchamp-MomentMap.ps
98Detection Map.............................[detectionMap]  =  duchamp-DetectionMap.ps
99Display a map in a pgplot xwindow?.........[flagXOutput]  =  true
100Saving reconstructed cube?.............[flagOutputRecon]  =  false
101Saving residuals from reconstruction?..[flagOutputResid]  =  false
102Saving mask cube?.......................[flagOutputMask]  =  false
103Saving 0th moment to FITS file?.........[flagOutputMask]  =  false
104------
105Type of searching performed.................[searchType]  =  spectral
106Blank Pixel Value.......................................  =  -8.00061
107Trimming Blank Pixels?........................[flagTrim]  =  false
108Searching for Negative features?..........[flagNegative]  =  false
109Channels flagged by user....... .......[flaggedChannels]  =  75-112
110Area of Beam (pixels)...................................  =  14.6848   (beam: 3.6 x 3.6 pixels)
111Removing baselines before search?.........[flagBaseline]  =  false
112Smoothing data prior to searching?..........[flagSmooth]  =  false
113Using A Trous reconstruction?...............[flagATrous]  =  true
114Number of dimensions in reconstruction........[reconDim]  =  1
115Minimum scale in reconstruction...............[scaleMin]  =  1
116SNR Threshold within reconstruction...........[snrRecon]  =  3
117Filter being used for reconstruction........[filterCode]  =  1 (B3 spline function)
118Using Robust statistics?...............[flagRobustStats]  =  true
119Using FDR analysis?............................[flagFDR]  =  false
120SNR Threshold (in sigma)........................[snrCut]  =  3
121Minimum # Pixels in a detection.................[minPix]  =  5
122Minimum # Channels in a detection..........[minChannels]  =  3
123Minimum # Voxels in a detection..............[minVoxels]  =  7
124Growing objects after detection?............[flagGrowth]  =  false
125Using Adjacent-pixel criterion?...........[flagAdjacent]  =  true
126Max. velocity separation for merging....[threshVelocity]  =  7
127Reject objects before merging?...[flagRejectBeforeMerge]  =  false
128Merge objects in two stages?.......[flagTwoStageMerging]  =  false
129Method of spectral plotting.............[spectralMethod]  =  sum
130Type of object centre used in results......[pixelCentre]  =  centroid
131--------------------
132\end{verbatim}
133}
134%\end{minipage}
135%\end{sideways}
136
137%%% Local Variables:
138%%% mode: latex
139%%% TeX-master: "Guide"
140%%% End:
Note: See TracBrowser for help on using the repository browser.