[303] | 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 | % ----------------------------------------------------------------------- |
---|
[992] | 28 | %\documentclass[11pt,a4paper]{article} |
---|
| 29 | \documentclass[10pt,a4paper]{article} |
---|
[158] | 30 | %\documentclass[12pt,a4paper]{report} |
---|
[18] | 31 | |
---|
[103] | 32 | %%%%%% LINE SPACING %%%%%%%%%%%% |
---|
| 33 | \usepackage{setspace} |
---|
| 34 | \singlespacing |
---|
| 35 | %\onehalfspacing |
---|
| 36 | %\doublespacing |
---|
| 37 | |
---|
[18] | 38 | %Define a test for doing PDF format -- use different code below |
---|
| 39 | \newif\ifPDF |
---|
| 40 | \ifx\pdfoutput\undefined\PDFfalse |
---|
[703] | 41 | \else\ifnum\pdfoutput > 0 \PDFtrue |
---|
[18] | 42 | \else\PDFfalse |
---|
| 43 | \fi |
---|
| 44 | \fi |
---|
| 45 | |
---|
[231] | 46 | %\textwidth=165 mm |
---|
| 47 | %\textheight=245 mm |
---|
| 48 | %\topmargin=0 mm |
---|
| 49 | %\oddsidemargin=0 mm |
---|
| 50 | %\parindent=6 mm |
---|
[3] | 51 | |
---|
[231] | 52 | \usepackage{amsmath} |
---|
[232] | 53 | \usepackage{amsfonts} |
---|
[258] | 54 | \usepackage{xspace} |
---|
[18] | 55 | \usepackage[sort]{natbib} |
---|
| 56 | \bibpunct[,]{(}{)}{;}{a}{}{,} |
---|
[1023] | 57 | %\usepackage{biblabelurl} |
---|
[18] | 58 | |
---|
[158] | 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 | |
---|
[1276] | 67 | \newcommand{\version}{1.5} |
---|
[158] | 68 | |
---|
[3] | 69 | \newcommand{\eg}{e.g.\ } |
---|
| 70 | \newcommand{\ie}{i.e.\ } |
---|
[258] | 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} |
---|
[3] | 76 | \newcommand{\diff}{{\rm d}} |
---|
[306] | 77 | \newcommand{\entrylabel}[1]{\mbox{\texttt{#1:}}\hfil} |
---|
[3] | 78 | \newenvironment{entry} |
---|
| 79 | {\begin{list}{}% |
---|
| 80 | {\renewcommand{\makelabel}{\entrylabel}% |
---|
[306] | 81 | \setlength{\leftmargin}{33mm}% |
---|
| 82 | \setlength{\labelwidth}{33mm}% |
---|
| 83 | \setlength{\labelsep}{0pt}% |
---|
| 84 | \setlength{\itemsep}{3pt}% |
---|
[3] | 85 | \setlength{\parsep}{2pt}% |
---|
| 86 | }% |
---|
| 87 | }% |
---|
| 88 | {\end{list}} |
---|
| 89 | |
---|
[306] | 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} |
---|
[1322] | 104 | \setlength{\labelwidth}{33mm}% |
---|
[330] | 105 | \setlength{\itemsep}{3pt}% |
---|
[1322] | 106 | \setlength{\leftmargin}{0mm}% |
---|
[306] | 107 | % \setlength{\itemindent}{0mm}% |
---|
| 108 | % \setlength{\listparindent}{0mm}% |
---|
[330] | 109 | \setlength{\labelsep}{0mm}% |
---|
[306] | 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 | |
---|
[158] | 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{} |
---|
[18] | 144 | |
---|
| 145 | % If we are creating a PDF, use different options for graphicx, hyperref. |
---|
| 146 | \ifPDF |
---|
| 147 | \usepackage[pdftex]{graphicx,color} |
---|
[158] | 148 | \usepackage[pdftex,bookmarks]{hyperref} |
---|
[18] | 149 | \hypersetup{colorlinks=true,% |
---|
[80] | 150 | citecolor=red,% |
---|
| 151 | filecolor=red,% |
---|
| 152 | linkcolor=red,% |
---|
| 153 | urlcolor=red,% |
---|
| 154 | } |
---|
[18] | 155 | \else |
---|
| 156 | \usepackage[dvips]{graphicx} |
---|
| 157 | \usepackage[dvips]{hyperref} |
---|
| 158 | \fi |
---|
| 159 | |
---|
[231] | 160 | \usepackage{lscape} |
---|
| 161 | \usepackage[dvips]{rotating} |
---|
| 162 | %\rotdriver{dvips} |
---|
| 163 | |
---|
[80] | 164 | \pagestyle{headings} |
---|
[3] | 165 | \begin{document} |
---|
| 166 | |
---|
[158] | 167 | \ifPDF |
---|
[162] | 168 | \pdfbookmark[2]{Title Page}{title} |
---|
[158] | 169 | \fi |
---|
| 170 | \newlength{\centreoff} |
---|
| 171 | \setlength{\centreoff}{-0.5\oddsidemargin} |
---|
| 172 | \addtolength{\centreoff}{0.5\evensidemargin} |
---|
[80] | 173 | \thispagestyle{empty} |
---|
[158] | 174 | \vspace*{\stretch{1}} |
---|
| 175 | \noindent\hspace*{\centreoff}% |
---|
| 176 | \makebox[0pt][l]{\begin{minipage}{\textwidth} |
---|
| 177 | \flushright |
---|
[231] | 178 | {\Huge\bfseries Source Detection with \duchamp\\[2ex]} |
---|
| 179 | {\huge\bfseries A User's Guide |
---|
[158] | 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 |
---|
| 190 | Matthew Whiting\\ |
---|
| 191 | Australia Telescope National Facility\\ |
---|
[1181] | 192 | CSIRO Astronomy \& Space Science\\[3ex]} |
---|
[364] | 193 | Duchamp version~\version\\ |
---|
[1283] | 194 | August 29, 2013 |
---|
[158] | 195 | \end{minipage}} |
---|
| 196 | |
---|
[80] | 197 | \begin{figure}[!h] |
---|
[162] | 198 | %\begin{center} |
---|
[80] | 199 | \includegraphics[width=\textwidth]{cover_image} |
---|
[162] | 200 | %\end{center} |
---|
[80] | 201 | \end{figure} |
---|
| 202 | |
---|
[158] | 203 | %\newpage |
---|
[162] | 204 | \ifPDF |
---|
| 205 | \pdfbookmark[2]{Contents}{contents} |
---|
| 206 | \fi |
---|
[3] | 207 | \tableofcontents |
---|
| 208 | |
---|
[208] | 209 | \newpage |
---|
[158] | 210 | \input{intro} %Introduction and getting going quickly |
---|
[3] | 211 | \newpage |
---|
[158] | 212 | \input{userInputs} %User Inputs |
---|
[3] | 213 | \newpage |
---|
[258] | 214 | \input{executionFlow} %What \duchamp is doing |
---|
[110] | 215 | \newpage |
---|
[1159] | 216 | \input{sourceParameterisation} %Parameterisation of sources |
---|
| 217 | \newpage |
---|
[158] | 218 | \input{outputs} %Outputs |
---|
[3] | 219 | \newpage |
---|
[447] | 220 | \newpage |
---|
[158] | 221 | \input{hints} %Notes and hints on the use of \duchamp |
---|
[3] | 222 | \newpage |
---|
[158] | 223 | \input{future} %Future developments |
---|
[1028] | 224 | \newpage |
---|
| 225 | \input{acknowledgements} %Acknowledgements |
---|
[3] | 226 | |
---|
[964] | 227 | \newpage |
---|
[992] | 228 | \ifPDF |
---|
| 229 | \pdfbookmark[1]{References}{references} |
---|
| 230 | \fi |
---|
[1030] | 231 | %\bibliographystyle{plainnat} |
---|
| 232 | %%\bibliographystyle{hapj} |
---|
| 233 | %%\bibliographystyle{plainnaturl} |
---|
| 234 | %%\bibliographystyle{mn2e} |
---|
| 235 | %%\bibliography{mnemonic,MasterBibliography} |
---|
| 236 | %\bibliography{guide} |
---|
| 237 | %%\bibliography{Guide-new} |
---|
[3] | 238 | |
---|
[1023] | 239 | %\newpage |
---|
| 240 | %\ifPDF |
---|
| 241 | %\pdfbookmark[1]{References}{references} |
---|
| 242 | %\fi |
---|
| 243 | %\ifPDF |
---|
[1030] | 244 | \input{Guide-URL-bib} |
---|
[1023] | 245 | %\else |
---|
| 246 | %\input{Guide-noURL-bib} |
---|
| 247 | %\fi |
---|
| 248 | |
---|
[158] | 249 | \appendix |
---|
[3] | 250 | \newpage |
---|
[158] | 251 | \input{app-install} %Obtaining and installing \duchamp |
---|
[87] | 252 | \newpage |
---|
[158] | 253 | \input{app-param} %Available parameters |
---|
[87] | 254 | \newpage |
---|
[158] | 255 | \input{app-paramEx} %Example parameter files |
---|
[231] | 256 | \newpage |
---|
[158] | 257 | \input{app-resultsEx} %Example results files |
---|
[231] | 258 | \newpage |
---|
[158] | 259 | \input{app-VOTable} %Example VOTable output |
---|
[231] | 260 | \newpage |
---|
[158] | 261 | \input{app-Karma} %Example Karma annotation file output |
---|
[24] | 262 | \newpage |
---|
[1078] | 263 | \input{app-DS9} %Example DS9 region file output |
---|
| 264 | \newpage |
---|
[1151] | 265 | \input{app-casa} %Example CASA region file output |
---|
| 266 | \newpage |
---|
[158] | 267 | \input{app-stats} %Robust statistics for a Normal distribution |
---|
[231] | 268 | \newpage |
---|
[158] | 269 | \input{app-waveletNoise} %How Gaussian noise changes with wavelet scale |
---|
[24] | 270 | |
---|
| 271 | |
---|
| 272 | \end{document} |
---|