source: tags/release-1.1.11b/docs/app-paramEx.tex

Last change on this file was 303, checked in by Matthew Whiting, 17 years ago
  • Update the Outputs chapter to mention the use of F_tot.
  • Fixed comments in pgplot_related.c
  • Added distribution text to tex files.
File size: 5.6 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
43flagMW          1
44minMW           75
45maxMW           112
46flagGrowth      1
47growthCut       1.5
48flagATrous      1
49reconDim        1         
50scaleMin        1
51snrRecon        4
52flagFDR         1
53alphaFDR        0.1
54snrCut          3
55threshSpatial   3
56threshVelocity  7
57\end{verbatim}
58
59Note that, as in this example, the flag parameters can be entered as
60strings (\texttt{true}/\texttt{false}) or integers
61(\texttt{1}/\texttt{0}). Also, note that it is not necessary to
62include all these parameters in the file, only those that need to be
63changed from the defaults (as listed in Appendix~\ref{app-param}),
64which in this case would be very few. A minimal parameter file might
65look like:
66\begin{verbatim}
67imageFile       /home/mduchamp/fountain.fits
68flagLog         false
69flagATrous      1
70snrRecon        3
71snrCut          2.5
72minChannels     4
73\end{verbatim}
74This will reconstruct the cube with a lower SNR value than the
75default, select objects at a lower threshold,  with a looser minimum
76channel requirement, and not keep a log of the intermediate
77detections.
78
79The following page demonstrates how the parameters are presented to
80the user, both on the screen at execution time, and in the output and
81log files. On each line, there is a description on the parameter, the
82relevant parameter name that is used in the input file (if there is
83one that the user can enter), and the value of the parameter being
84used.
85
86%\begin{sideways}
87%Typical presentation of parameters in output and log files: 
88%\begin{minipage}{170mm}
89%
90% NOTE -- EXCISED THESE FROM THE EXAMPLE, AS THE SECOND LINE IS 18PT
91% TOO LONG...
92%Reconstructed array exists?................[reconExists]  =  true
93%FITS file containing reconstruction..........[reconFile]  =  fountain.RECON-1-1-4-1.fits
94{\scriptsize
95\begin{verbatim}
96---- Parameters ----
97Image to be analysed.........................[imageFile]  =  fountain.fits
98Intermediate Logfile...........................[logFile]  =  duchamp-Logfile.txt
99Final Results file.............................[outFile]  =  duchamp-Results.txt
100Spectrum file..............................[spectraFile]  =  duchamp-Spectra.ps
1010th Moment Map...............................[momentMap]  =  duchamp-MomentMap.ps
102Detection Map.............................[detectionMap]  =  duchamp-DetectionMap.ps
103Display a map in a pgplot xwindow?.........[flagXOutput]  =  true
104Saving reconstructed cube?.............[flagoutputrecon]  =  false
105Saving residuals from reconstruction?..[flagoutputresid]  =  false
106------
107Blank Pixel Value.......................................  =  -8.00061
108Trimming Blank Pixels?........................[flagTrim]  =  true
109Searching for Negative features?..........[flagNegative]  =  false
110Removing Milky Way channels?....................[flagMW]  =  true
111Milky Way Channels.......................[minMW - maxMW]  =  75-112
112Beam Size (pixels)......................................  =  10.1788
113Removing baselines before search?.........[flagBaseline]  =  false
114Smoothing each spectrum first?..............[flagSmooth]  =  false
115Using A Trous reconstruction?...............[flagATrous]  =  true
116Number of dimensions in reconstruction........[reconDim]  =  1
117Minimum scale in reconstruction...............[scaleMin]  =  1
118SNR Threshold within reconstruction...........[snrRecon]  =  4
119Filter being used for reconstruction........[filterCode]  =  1 (B3 spline function)
120Using FDR analysis?............................[flagFDR]  =  false
121SNR Threshold (in sigma)........................[snrCut]  =  3
122Minimum # Pixels in a detection.................[minPix]  =  2
123Minimum # Channels in a detection..........[minChannels]  =  3
124Growing objects after detection?............[flagGrowth]  =  false
125Using Adjacent-pixel criterion?...........[flagAdjacent]  =  true
126Max. velocity separation for merging....[threshVelocity]  =  7
127Method of spectral plotting.............[spectralMethod]  =  peak
128Type of object centre used in results......[pixelCentre]  =  centroid
129--------------------
130\end{verbatim}
131}
132%\end{minipage}
133%\end{sideways}
Note: See TracBrowser for help on using the repository browser.