source: branches/pixel-map-branch/docs/app-install.tex @ 1441

Last change on this file since 1441 was 255, checked in by Matthew Whiting, 17 years ago
  • Mostly Guide changes, thanks to the xspace package. Some alteration of the statistics calculation description, thanks to the new statsec parameter.
  • Also changed the default value of the reconDim parameter -- now default is 1-dimensional.
File size: 5.2 KB
Line 
1\secA{Obtaining and installing \duchamp}
2\label{app-install}
3
4\secB{Installing}
5The \duchamp web page can be found at the following location:\\
6\href{http://www.atnf.csiro.au/people/Matthew.Whiting/Duchamp}%
7{http://www.atnf.csiro.au/people/Matthew.Whiting/Duchamp}\\
8Here you can find a gzipped tar archive of the source code that can be
9downloaded and extracted, as well as this User's Guide in postscript
10and hyperlinked PDF formats.
11
12To build \duchamp, you will need three main external libraries:
13\textsc{pgplot}, \textsc{cfitsio} (this needs to be version 2.5 or
14greater -- version 3+ is better) and \textsc{wcslib}. If these are not
15present on your system, you can download them from the following
16locations:
17\begin{itemize}
18\item \textsc{pgplot}:
19\href{http://www.astro.caltech.edu/~tjp/pgplot/}%
20{\footnotesize http://www.astro.caltech.edu/~tjp/pgplot/}
21\item \textsc{cfitsio}:
22\href{http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html}%
23{\footnotesize http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html}
24\item \textsc{wcslib}:
25\href{http://www.atnf.csiro.au/people/Mark.Calabretta/WCS/index.html}%
26{\footnotesize http://www.atnf.csiro.au/people/Mark.Calabretta/WCS/index.html}
27\end{itemize}
28
29\duchamp can be built on Unix/Linux systems by typing (assuming that
30the prompt your terminal provides is a \texttt{> } -- don't type this
31character!):
32\begin{quote}
33{\footnotesize
34\texttt{%
35> ./configure\\
36> make\\
37> make clean (optional -- to remove the object files)}
38}
39\end{quote}
40
41Run in this manner, \texttt{configure} should find all the necessary
42libraries, but if some libraries have been installed in non-standard
43locations, it may fail. In this case, you can specify additional
44directories to look in by giving extra command-line arguments. There
45are separate options for library files (eg. libcpgplot.a) and header
46files (eg. cpgplot.h).
47
48For example, suppose \textsc{wcslib} had been locally installed in the
49directory \texttt{/home/mduchamp/wcslib}. There will then be two
50libraries created that are likely to be in the following
51subdirectories: \texttt{C/} and \texttt{pgsbox/}. Each subdirectory
52needs to be searched for library and header files, so one could build
53Duchamp by typing:
54\begin{quote}
55{\footnotesize
56\texttt{%
57>  ./configure $\backslash$ \\
58LIBDIRS="/home/mduchamp/wcslib/C /home/mduchamp/wcslib/pgsbox"
59$\backslash$\\
60INCDIRS="/home/mduchamp/wcslib/C /home/mduchamp/wcslib/pgsbox"}
61}
62\end{quote}
63And then just run make in the usual fashion:
64\begin{quote}
65{\footnotesize
66\texttt{> make}
67}
68\end{quote}
69
70This will produce the executable \texttt{Duchamp}. You can verify that
71it is running correctly by running the verification shell script:
72\begin{quote}
73{\footnotesize
74\texttt{> VerifyDuchamp.sh}
75}
76\end{quote}
77This will use a dummy FITS image in the \texttt{verification/}
78directory -- this image has some Gaussian random noise, with five
79Gaussian sources present, plus a dummy WCS. The script runs
80Duchamp on this image with three different sets of inputs, and
81compares to known results, looking for differences and reporting
82any. There should be none reported if everything is working correctly.
83
84\secB{Running \duchamp}
85You can then run \duchamp on your own data. This can be done in one
86of two ways. The first is:
87\begin{quote}
88{\footnotesize
89\texttt{> Duchamp -f [FITS file]}
90}
91\end{quote}
92where \texttt{[FITS file]} is the file you wish to search. This method
93simply uses the default values of all parameters.
94
95The second method allows some determination of the parameter values by
96the user. Type:
97\begin{quote}
98{\footnotesize
99\texttt{> Duchamp -p [parameter file]}
100}
101\end{quote}
102where \texttt{[parameterFile]} is a file with the input parameters,
103including the name of the cube you want to search. There are two
104example input files included with the distribution. The smaller one,
105\texttt{InputExample}, shows the typical parameters one might want to
106set. The large one, \texttt{InputComplete}, lists all possible
107parameters that can be entered, and a brief description of them. To
108get going quickly, just replace the \texttt{"your-file-here"} in the
109\texttt{InputExample} file with your image name, and type
110\begin{quote}
111{\footnotesize
112\texttt{> Duchamp -p InputExample}
113}
114\end{quote}
115
116The following appendices provide details on the individual parameters,
117and show examples of the output files that \duchamp produces.
118
119\secB{Feedback}
120It may happen that you discover bugs or problems with \duchamp, or you
121have suggestions for improvements or additional features to be
122included in future releases. You can submit a ``ticket'' (a trackable
123bug report) at the \duchamp Trac wiki at the following location:\\
124\href{http://sourcecode.atnf.csiro.au/cgi-bin/trac\_duchamp.cgi/newticket}%
125{\footnotesize
126http://sourcecode.atnf.csiro.au/cgi-bin/trac\_duchamp.cgi/newticket}
127\\(there is a link to this page from the Duchamp website).
128
129There is also an email exploder, duchamp-user\textbf{[at]}atnf.csiro.au,
130that users can subscribe to keep up to date with changes, updates, and
131other news about \duchamp. To subscribe, send an email (from the
132account you wish to subscribe to the list) to
133duchamp-user-request\textbf{[at]}atnf.csiro.au with the single word
134``subscribe'' in the body of the message. To be removed from this
135list, send a message with ``unsubscribe'' in its body to the same
136address.
137
Note: See TracBrowser for help on using the repository browser.