source: trunk/docs/userInputs.tex @ 158

Last change on this file since 158 was 158, checked in by Matthew Whiting, 18 years ago

Changed the layout of the Guide, so that each section has its own .tex file.
This makes it a bit easier to edit.
Also changed the layout of the title page, and added some page breaks between
sections.
Bibliography is now a .bib file, controlled by mn2e.bst. Might look at
using a different one that can incorporate hyperlinks...

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