source: trunk/docs/Guide.tex @ 231

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

Mostly improvements to the Guide, with better formatting and descriptions of one of the changes below. The changes to the code are:

  • Addition of the option of specifying in the subsection string a number of pixels to be chopped from either end of an axis (as requested in #5).
  • Addition of a test in the reconstruction functions to see whether the number of non-BLANK pixels is zero. If so, the input array is returned as the output without having to do the reconstruction (and avoiding problems with the stats functions).
File size: 4.4 KB
Line 
1\documentclass[11pt,a4paper]{article}
2%\documentclass[12pt,a4paper]{report}
3
4%%%%%% LINE SPACING %%%%%%%%%%%%
5\usepackage{setspace}
6\singlespacing
7%\onehalfspacing
8%\doublespacing
9
10%Define a test for doing PDF format -- use different code below
11\newif\ifPDF
12\ifx\pdfoutput\undefined\PDFfalse
13\else\ifnum\pdfoutput > 0\PDFtrue
14     \else\PDFfalse
15     \fi
16\fi
17
18%\textwidth=165 mm
19%\textheight=245 mm
20%\topmargin=0 mm
21%\oddsidemargin=0 mm
22%\parindent=6 mm
23
24\usepackage{amsmath}
25\usepackage[sort]{natbib}
26\bibpunct[,]{(}{)}{;}{a}{}{,}
27
28%\newcommand{\secA}{\chapter}
29%\newcommand{\secB}{\section}
30%\newcommand{\secC}{\subsection}
31
32\newcommand{\secA}{\section}
33\newcommand{\secB}{\subsection}
34\newcommand{\secC}{\subsubsection}
35
36
37\newcommand{\eg}{e.g.\ }
38\newcommand{\ie}{i.e.\ }
39\newcommand{\hi}{H\textsc{i}}
40\newcommand{\hipass}{\textsc{hipass}}
41\newcommand{\duchamp}{\emph{Duchamp}}
42\newcommand{\atrous}{\textit{{\`a} trous}}
43\newcommand{\Atrous}{\textit{{\`A} trous}}
44\newcommand{\diff}{{\rm d}}
45\newcommand{\entrylabel}[1]{\mbox{\textsf{\bf{#1:}}}\hfil}
46\newenvironment{entry}
47        {\begin{list}{}%
48                {\renewcommand{\makelabel}{\entrylabel}%
49                        \setlength{\labelwidth}{30mm}%
50                        \setlength{\labelsep}{5pt}%
51                        \setlength{\itemsep}{2pt}%
52                        \setlength{\parsep}{2pt}%
53                        \setlength{\leftmargin}{35mm}%
54                }%
55        }%
56{\end{list}}
57
58%%%%%%% FANCY HEADINGS %%%%%%%%%%
59%\usepackage{fancyheadings}
60%\pagestyle{fancyplain}
61%\addtolength{\headheight}{1.6pt}
62%\addtolength{\headwidth}{\marginparsep}
63%\addtolength{\headwidth}{\marginparwidth}
64%\renewcommand{\secAmark}[1]
65%                {\markboth{#1}{}}
66%\renewcommand{\secBmark}[1]
67%                {\markright{\thesection\ #1}}
68%\lhead[\fancyplain{}{\bfseries\thepage}]
69%      {\fancyplain{}{\bfseries\rightmark}}
70%\rhead[\fancyplain{}{\bfseries\leftmark}]
71%      {\fancyplain{}{\bfseries\thepage}}
72%\cfoot{}
73
74% If we are creating a PDF, use different options for graphicx, hyperref.
75\ifPDF
76  \usepackage[pdftex]{graphicx,color}
77  \usepackage[pdftex,bookmarks]{hyperref}
78  \hypersetup{colorlinks=true,%             
79              citecolor=red,%
80              filecolor=red,%
81              linkcolor=red,%
82              urlcolor=red,%
83              }
84\else
85  \usepackage[dvips]{graphicx}
86  \usepackage[dvips]{hyperref}
87\fi
88
89\usepackage{lscape}
90\usepackage[dvips]{rotating}
91%\rotdriver{dvips}
92
93\pagestyle{headings}
94\begin{document}
95
96\ifPDF
97\pdfbookmark[2]{Title Page}{title}
98\fi
99\newlength{\centreoff}
100\setlength{\centreoff}{-0.5\oddsidemargin}
101\addtolength{\centreoff}{0.5\evensidemargin}
102\thispagestyle{empty}
103\vspace*{\stretch{1}}
104\noindent\hspace*{\centreoff}%
105\makebox[0pt][l]{\begin{minipage}{\textwidth}
106\flushright
107{\Huge\bfseries Source Detection with \duchamp\\[2ex]}
108{\huge\bfseries A User's Guide
109
110}
111\noindent\rule[-1ex]{\textwidth}{3pt}
112%\noindent\rule[-1ex]{\textwidth}{3pt}
113%{\huge\bfseries A User's Guide}
114\end{minipage}}
115
116\vspace{\stretch{1}}
117\noindent\hspace*{\centreoff}%
118\makebox[0pt][l]{\begin{minipage}{\textwidth}
119\flushright
120{\bfseries
121Matthew Whiting\\
122Australia Telescope National Facility\\
123CSIRO\\[3ex]}
124Duchamp version~1.07\\
125December 6, 2006
126\end{minipage}}
127
128\begin{figure}[!h]
129%\begin{center}
130\includegraphics[width=\textwidth]{cover_image}
131%\end{center}
132\end{figure}
133
134%\newpage
135\ifPDF
136\pdfbookmark[2]{Contents}{contents}
137\fi
138\tableofcontents
139
140\newpage
141\input{intro} %Introduction and getting going quickly
142\newpage
143\input{userInputs} %User Inputs
144\newpage
145\input{executionFlow} %What \duchamp\ is doing
146\newpage
147\input{outputs} %Outputs
148\newpage
149\input{hints} %Notes and hints on the use of \duchamp
150\newpage
151\input{future} %Future developments
152
153%\bibliographystyle{plainnat}
154%\bibliographystyle{mn2e}
155%\bibliography{guide}
156
157\newpage
158\ifPDF
159\pdfbookmark[1]{References}{references}
160\fi
161\ifPDF
162\input{Guide-URL-bib}
163\else
164\input{Guide-noURL-bib}
165\fi
166
167\appendix
168\newpage
169\input{app-install} %Obtaining and installing \duchamp
170\newpage
171\input{app-param} %Available parameters
172\newpage
173\input{app-paramEx} %Example parameter files
174\newpage
175\input{app-resultsEx} %Example results files
176\newpage
177\input{app-VOTable} %Example VOTable output
178\newpage
179\input{app-Karma} %Example Karma annotation file output
180\newpage
181\input{app-stats} %Robust statistics for a Normal distribution
182\newpage
183\input{app-waveletNoise} %How Gaussian noise changes with wavelet scale
184
185
186\end{document}
Note: See TracBrowser for help on using the repository browser.