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

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

Changes worth talking about are:

  • New parameters:
    • The trimming is now controlled by flagTrim. The BLANK etc keywords are always read in -- if they aren't there, flagTrim set to false. User access of flagBlankPix and blankPixVal is disabled. For clarity, flagTrimmed changed to hasBeenTrimmed.
    • Default value of kernMin set to -1 -- then if it is found to be negative, it is set to match kernMaj.
    • Slight changes to parameter output.
  • Fixed bug in findAllStats, so that the correct array is used.
  • Number of pixels for FDR setup set to 2*beamsize only if we are 3-dimensional.
  • Added pixel information to VOTable.
  • Simplified some code in drawMomentCutout
  • Added check for recon array allocation at start of ReconSearch?, as well as checks on dimensionality of cube.
  • Updated images and documentation.
File size: 4.1 KB
Line 
1\secA{Example parameter files}
2\label{app-input}
3
4This is what a typical parameter file would look like.
5
6\begin{verbatim}
7imageFile       /home/mduchamp/fountain.fits
8logFile         logfile.txt
9outFile         results.txt
10spectraFile     spectra.ps
11flagSubsection  false
12flagOutputRecon false
13flagOutputResid 0
14flagTrim        1
15flagMW          1
16minMW           75
17maxMW           112
18flagGrowth      1
19growthCut       1.5
20flagATrous      1
21reconDim        1         
22scaleMin        1
23snrRecon        4
24flagFDR         1
25alphaFDR        0.1
26snrCut          3
27threshSpatial   3
28threshVelocity  7
29\end{verbatim}
30
31Note that, as in this example, the flag parameters can be entered as
32strings (true/false) or integers (1/0). Also, note that it is not
33necessary to include all these parameters in the file, only those that
34need to be changed from the defaults (as listed in
35Appendix~\ref{app-param}), which in this case would be very few. A
36minimal parameter file might look like:
37\begin{verbatim}
38imageFile       /home/mduchamp/fountain.fits
39flagLog         false
40flagATrous      1
41snrRecon        3
42snrCut          2.5
43minChannels     4
44\end{verbatim}
45This will reconstruct the cube with a lower SNR value than the
46default, select objects at a lower threshold,  with a looser minimum
47channel requirement, and not keep a log of the intermediate
48detections.
49
50The following page demonstrates how the parameters are presented to
51the user, both on the screen at execution time, and in the output and
52log files. On each line, there is a description on the parameter, the
53relevant parameter name that is used in the input file (if there is
54one that the user can enter), and the value of the parameter being
55used.
56
57%\begin{sideways}
58%Typical presentation of parameters in output and log files: 
59%\begin{minipage}{170mm}
60{\scriptsize
61\begin{verbatim}
62---- Parameters ----
63Image to be analysed.........................[imageFile]  =  fountain.fits
64Reconstructed array exists?................[reconExists]  =  true
65FITS file containing reconstruction..........[reconFile]  =  fountain.RECON-1-1-4-1.fits
66Intermediate Logfile...........................[logFile]  =  duchamp-Logfile.txt
67Final Results file.............................[outFile]  =  duchamp-Results.txt
68Spectrum file..............................[spectraFile]  =  duchamp-Spectra.ps
690th Moment Map...............................[momentMap]  =  duchamp-MomentMap.ps
70Detection Map.............................[detectionMap]  =  duchamp-DetectionMap.ps
71Display a map in a pgplot xwindow?.........[flagXOutput]  =  true
72Saving reconstructed cube?.............[flagoutputrecon]  =  false
73Saving residuals from reconstruction?..[flagoutputresid]  =  false
74------
75Blank Pixel Value.......................................  =  -8.00061
76Trimming Blank Pixels?........................[flagTrim]  =  true
77Searching for Negative features?..........[flagNegative]  =  false
78Removing Milky Way channels?....................[flagMW]  =  true
79Milky Way Channels.......................[minMW - maxMW]  =  75-112
80Beam Size (pixels)......................................  =  10
81Removing baselines before search?.........[flagBaseline]  =  false
82Smoothing each spectrum first?..............[flagSmooth]  =  false
83Using A Trous reconstruction?...............[flagATrous]  =  true
84Number of dimensions in reconstruction........[reconDim]  =  1
85Minimum scale in reconstruction...............[scaleMin]  =  1
86SNR Threshold within reconstruction...........[snrRecon]  =  4
87Filter being used for reconstruction........[filterCode]  =  1 (B3 spline function)
88Using FDR analysis?............................[flagFDR]  =  false
89SNR Threshold (in sigma)........................[snrCut]  =  3
90Minimum # Pixels in a detection.................[minPix]  =  2
91Minimum # Channels in a detection..........[minChannels]  =  3
92Growing objects after detection?............[flagGrowth]  =  false
93Using Adjacent-pixel criterion?...........[flagAdjacent]  =  true
94Max. velocity separation for merging....[threshVelocity]  =  7
95Method of spectral plotting.............[spectralMethod]  =  peak
96Type of object centre used in results......[pixelCentre]  =  centroid
97--------------------
98\end{verbatim}
99}
100%\end{minipage}
101%\end{sideways}
Note: See TracBrowser for help on using the repository browser.