1 | \secA{User Inputs} |
---|
2 | \label{sec-param} |
---|
3 | |
---|
4 | Input to the program is provided by means of a parameter |
---|
5 | file. Parameters are listed in the file, followed by the value that |
---|
6 | should be assigned to them. The syntax used is |
---|
7 | \begin{quote} |
---|
8 | \texttt{paramName value}. |
---|
9 | \end{quote} |
---|
10 | Parameter names are not case-sensitive, and lines in the input |
---|
11 | file that start with \texttt{\#} are ignored. If a parameter is listed |
---|
12 | more than once, the latter value is used, but otherwise the order in |
---|
13 | which the parameters are listed in the input file is |
---|
14 | arbitrary. Example input files can be seen in |
---|
15 | Appendix~\ref{app-input}. |
---|
16 | |
---|
17 | If a parameter is not listed, the default value is assumed. The |
---|
18 | defaults are chosen to provide a good result (using the reconstruction |
---|
19 | method), so the user doesn't need to specify many new parameters in |
---|
20 | the input file. Note that the image file \textbf{must} be specified! |
---|
21 | The parameters that can be set are listed in Appendix~\ref{app-param}, |
---|
22 | with their default values in parentheses. |
---|
23 | |
---|
24 | The parameters with names starting with \texttt{flag} are stored as |
---|
25 | \texttt{bool} variables, and so are either \texttt{true = 1} or |
---|
26 | \texttt{false = 0}. They can be entered in the file either in text or |
---|
27 | integer format -- \duchamp will read them correctly in either case. |
---|
28 | |
---|
29 | An example input file is included in the distribution tar file. It is |
---|
30 | as follows: |
---|
31 | |
---|
32 | \begin{verbatim} |
---|
33 | imageFile your-file-here |
---|
34 | logFile logfile.txt |
---|
35 | outFile results.txt |
---|
36 | spectraFile spectra.ps |
---|
37 | minPix 2 |
---|
38 | flagATrous 1 |
---|
39 | snrRecon 5. |
---|
40 | snrCut 3. |
---|
41 | minChannels 3 |
---|
42 | flagBaseline 1 |
---|
43 | \end{verbatim} |
---|
44 | |
---|
45 | You would, of course, replace the ``\texttt{your-file-here}'' with the |
---|
46 | FITS file you wanted to search. Further examples are given in |
---|
47 | Appendix~\ref{app-input}. |
---|