source: tags/release-1.6.1/docs/Guide.tex

Last change on this file was 1391, checked in by MatthewWhiting, 10 years ago

Changing the version number to 1.6.1 in preparation for patch release #228

File size: 7.5 KB
Line 
1% -----------------------------------------------------------------------
2% Guide.tex: Base latex file for the User's Guide.
3% -----------------------------------------------------------------------
4% Copyright (C) 2006, Matthew Whiting, ATNF
5%
6% This program is free software; you can redistribute it and/or modify it
7% under the terms of the GNU General Public License as published by the
8% Free Software Foundation; either version 2 of the License, or (at your
9% option) any later version.
10%
11% Duchamp is distributed in the hope that it will be useful, but WITHOUT
12% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13% FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14% for more details.
15%
16% You should have received a copy of the GNU General Public License
17% along with Duchamp; if not, write to the Free Software Foundation,
18% Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
19%
20% Correspondence concerning Duchamp may be directed to:
21%    Internet email: Matthew.Whiting [at] atnf.csiro.au
22%    Postal address: Dr. Matthew Whiting
23%                    Australia Telescope National Facility, CSIRO
24%                    PO Box 76
25%                    Epping NSW 1710
26%                    AUSTRALIA
27% -----------------------------------------------------------------------
28%\documentclass[11pt,a4paper]{article}
29\documentclass[10pt,a4paper]{article}
30%\documentclass[12pt,a4paper]{report}
31
32%%%%%% LINE SPACING %%%%%%%%%%%%
33\usepackage{setspace}
34\singlespacing
35%\onehalfspacing
36%\doublespacing
37
38%Define a test for doing PDF format -- use different code below
39\newif\ifPDF
40\ifx\pdfoutput\undefined\PDFfalse
41\else\ifnum\pdfoutput > 0 \PDFtrue
42     \else\PDFfalse
43     \fi
44\fi
45
46%\textwidth=165 mm
47%\textheight=245 mm
48%\topmargin=0 mm
49%\oddsidemargin=0 mm
50%\parindent=6 mm
51
52\usepackage{amsmath}
53\usepackage{amsfonts}
54\usepackage{xspace}
55\usepackage[sort]{natbib}
56\bibpunct[,]{(}{)}{;}{a}{}{,}
57%\usepackage{biblabelurl}
58
59%\newcommand{\secA}{\chapter}
60%\newcommand{\secB}{\section}
61%\newcommand{\secC}{\subsection}
62
63\newcommand{\secA}{\section}
64\newcommand{\secB}{\subsection}
65\newcommand{\secC}{\subsubsection}
66\newcommand{\secD}{\paragraph}
67\newcommand{\version}{1.6.1}
68
69\newcommand{\eg}{e.g.\ }
70\newcommand{\ie}{i.e.\ }
71\newcommand{\hi}{H\textsc{i}\xspace}
72\newcommand{\hipass}{\textsc{hipass}\xspace}
73\newcommand{\duchamp}{\emph{Duchamp}\xspace}
74\newcommand{\atrous}{\textit{{\`a} trous}\xspace}
75\newcommand{\Atrous}{\textit{{\`A} trous}\xspace}
76\newcommand{\diff}{{\rm d}}
77\newcommand{\entrylabel}[1]{\mbox{\texttt{#1:}}\hfil}
78\newenvironment{entry}
79        {\begin{list}{}%
80                {\renewcommand{\makelabel}{\entrylabel}%
81                        \setlength{\leftmargin}{33mm}%
82                        \setlength{\labelwidth}{33mm}%
83                        \setlength{\labelsep}{0pt}%
84                        \setlength{\itemsep}{3pt}%
85                        \setlength{\parsep}{2pt}%
86                }%
87        }%
88{\end{list}}
89
90%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
91
92\newlength{\MyLen}
93\newcommand{\Lentrylabel}[1]{%
94  \settowidth{\MyLen}{\texttt{#1:}}%
95%  \setlength{\labelwidth}{30mm}%
96  \ifthenelse{\lengthtest{\MyLen > \labelwidth}}%
97    {\parbox[b]{\labelwidth}% term > labelwidth
98      {\makebox[0pt][l]{\texttt{#1:}}\\}}%
99    {\texttt{#1:}}% term < labelwidth
100    \hfil\relax}
101
102\newenvironment{Lentry}%
103               {\renewcommand{\entrylabel}{\Lentrylabel}\begin{entry}
104                   \setlength{\labelwidth}{33mm}%
105                   \setlength{\itemsep}{3pt}%
106                   \setlength{\leftmargin}{0mm}%
107%                  \setlength{\itemindent}{0mm}%
108%                  \setlength{\listparindent}{0mm}%
109                   \setlength{\labelsep}{0mm}%
110               }%
111               {\end{entry}%
112               }
113
114%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
115
116\newcommand{\Mentrylabel}[1]%
117           {\raisebox{0pt}[1ex][0pt]{\makebox[\labelwidth][l]%
118               {\parbox[t]{\labelwidth}{\hspace{0pt}\texttt{#1}}}}}
119\newenvironment{Mentry}
120               {\renewcommand{\entrylabel}{\Mentrylabel}\begin{entry}%
121                   \setlength{\labelwidth}{33mm}%
122                   \setlength{\leftmargin}{35mm}%
123               }%
124               {\end{entry}%
125               }
126%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
127
128
129%%%%%%% FANCY HEADINGS %%%%%%%%%%
130%\usepackage{fancyheadings}
131%\pagestyle{fancyplain}
132%\addtolength{\headheight}{1.6pt}
133%\addtolength{\headwidth}{\marginparsep}
134%\addtolength{\headwidth}{\marginparwidth}
135%\renewcommand{\secAmark}[1]
136%                {\markboth{#1}{}}
137%\renewcommand{\secBmark}[1]
138%                {\markright{\thesection\ #1}}
139%\lhead[\fancyplain{}{\bfseries\thepage}]
140%      {\fancyplain{}{\bfseries\rightmark}}
141%\rhead[\fancyplain{}{\bfseries\leftmark}]
142%      {\fancyplain{}{\bfseries\thepage}}
143%\cfoot{}
144
145% If we are creating a PDF, use different options for graphicx, hyperref.
146\ifPDF
147  \usepackage[pdftex]{graphicx,color}
148  \usepackage[pdftex,bookmarks]{hyperref}
149  \hypersetup{colorlinks=true,%             
150              citecolor=red,%
151              filecolor=red,%
152              linkcolor=red,%
153              urlcolor=red,%
154              }
155\else
156  \usepackage[dvips]{graphicx}
157  \usepackage[dvips]{hyperref}
158\fi
159
160\usepackage{lscape}
161\usepackage[dvips]{rotating}
162%\rotdriver{dvips}
163
164\pagestyle{headings}
165\begin{document}
166
167\ifPDF
168\pdfbookmark[2]{Title Page}{title}
169\fi
170\newlength{\centreoff}
171\setlength{\centreoff}{-0.5\oddsidemargin}
172\addtolength{\centreoff}{0.5\evensidemargin}
173\thispagestyle{empty}
174\vspace*{\stretch{1}}
175\noindent\hspace*{\centreoff}%
176\makebox[0pt][l]{\begin{minipage}{\textwidth}
177\flushright
178{\Huge\bfseries Source Detection with \duchamp\\[2ex]}
179{\huge\bfseries A User's Guide
180
181}
182\noindent\rule[-1ex]{\textwidth}{3pt}
183\end{minipage}}
184
185\vspace{\stretch{1}}
186\noindent\hspace*{\centreoff}%
187\makebox[0pt][l]{\begin{minipage}{\textwidth}
188\flushright
189{\bfseries
190Matthew Whiting\\
191Australia Telescope National Facility\\
192CSIRO Astronomy \& Space Science\\[3ex]}
193Duchamp version~\version\\
194May 1, 2014
195\end{minipage}}
196
197\begin{figure}[!h]
198%\begin{center}
199\includegraphics[width=\textwidth]{cover_image}
200%\end{center}
201\end{figure}
202
203%\newpage
204\ifPDF
205\pdfbookmark[2]{Contents}{contents}
206\fi
207\tableofcontents
208
209\newpage
210\input{intro} %Introduction and getting going quickly
211\newpage
212\input{userInputs} %User Inputs
213\newpage
214\input{executionFlow} %What \duchamp is doing
215\newpage
216\input{sourceParameterisation} %Parameterisation of sources
217\newpage
218\input{outputs} %Outputs
219\newpage
220\newpage
221\input{hints} %Notes and hints on the use of \duchamp
222\newpage
223\input{future} %Future developments
224\newpage
225\input{acknowledgements} %Acknowledgements
226
227\newpage
228\ifPDF
229\pdfbookmark[1]{References}{references}
230\fi
231%\bibliographystyle{plainnat}
232%%\bibliographystyle{hapj}
233%%\bibliographystyle{plainnaturl}
234%%\bibliographystyle{mn2e}
235%%\bibliography{mnemonic,MasterBibliography}
236%\bibliography{guide}
237%%\bibliography{Guide-new}
238
239%\newpage
240%\ifPDF
241%\pdfbookmark[1]{References}{references}
242%\fi
243%\ifPDF
244\input{Guide-URL-bib}
245%\else
246%\input{Guide-noURL-bib}
247%\fi
248
249\appendix
250\newpage
251\input{app-install} %Obtaining and installing \duchamp
252\newpage
253\input{app-param} %Available parameters
254\newpage
255\input{app-paramEx} %Example parameter files
256\newpage
257\input{app-resultsEx} %Example results files
258\newpage
259\input{app-VOTable} %Example VOTable output
260\newpage
261\input{app-Karma} %Example Karma annotation file output
262\newpage
263\input{app-DS9} %Example DS9 region file output
264\newpage
265\input{app-casa} %Example CASA region file output
266\newpage
267\input{app-stats} %Robust statistics for a Normal distribution
268\newpage
269\input{app-waveletNoise} %How Gaussian noise changes with wavelet scale
270
271
272\end{document}
Note: See TracBrowser for help on using the repository browser.