source: trunk/docs/userInputs.tex @ 232

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

Large raft of changes. Most are minor ones related to fixing up the use of std::string and std::vector (whether they are declared as using, or not...). Other changes include:

  • Moving the reconstruction filter class Filter into its own header/implementation files filter.{hh,cc}. As a result, the atrous.cc file is removed, but atrous.hh remains with just the function prototypes.
  • Incorporating a Filter object into the Param set, so that the reconstruction routines can see it without the messy "extern" call. The define() function is now called in both the Param() and Param::readParams() functions, and no longer in the main body.
  • Col functions in columns.cc moved into the Column namespace, while the template function printEntry is moved into the columns.hh file -- it would not compile on delphinus with it in the columns.cc, even though all the implementations were present.
  • Improved the introductory section of the Guide, with a bit more detail about each of the execution steps. This way the reader can read this section and have a reasonably good idea about what is happening.
  • Other minor changes to the Guide.
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
7\begin{quote}
8\texttt{paramName value}.
9\end{quote}
10Parameter names are not case-sensitive, and lines in the input
11file that start with \texttt{\#} are ignored. If a parameter is listed
12more than once, the latter value is used, but otherwise the order in
13which the parameters are listed in the input file is
14arbitrary. Example input files can be seen in
15Appendix~\ref{app-input}.
16
17If a parameter is not listed, the default value is assumed. The
18defaults are chosen to provide a good result (using the reconstruction
19method), so the user doesn't need to specify many new parameters in
20the input file. Note that the image file \textbf{must} be specified!
21The parameters that can be set are listed in Appendix~\ref{app-param},
22with their default values in parentheses.
23
24The 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
27integer format -- \duchamp\ will read them correctly in either case.
28
29An example input file is included in the distribution tar file. It is
30as follows:
31
32\begin{verbatim}
33imageFile       your-file-here
34logFile         logfile.txt
35outFile         results.txt
36spectraFile     spectra.ps
37minPix          2
38flagATrous      1
39snrRecon        5.
40snrCut          3.
41minChannels     3
42flagBaseline    1
43\end{verbatim}
44
45You would, of course, replace the ``\texttt{your-file-here}'' with the
46FITS file you wanted to search. Further examples are given in
47Appendix~\ref{app-input}.
Note: See TracBrowser for help on using the repository browser.