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
RevLine 
[231]1\documentclass[11pt,a4paper]{article}
[158]2%\documentclass[12pt,a4paper]{report}
[18]3
[103]4%%%%%% LINE SPACING %%%%%%%%%%%%
5\usepackage{setspace}
6\singlespacing
7%\onehalfspacing
8%\doublespacing
9
[18]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
[231]18%\textwidth=165 mm
19%\textheight=245 mm
20%\topmargin=0 mm
21%\oddsidemargin=0 mm
22%\parindent=6 mm
[3]23
[231]24\usepackage{amsmath}
[18]25\usepackage[sort]{natbib}
26\bibpunct[,]{(}{)}{;}{a}{}{,}
27
[158]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
[3]37\newcommand{\eg}{e.g.\ }
38\newcommand{\ie}{i.e.\ }
[158]39\newcommand{\hi}{H\textsc{i}}
40\newcommand{\hipass}{\textsc{hipass}}
[103]41\newcommand{\duchamp}{\emph{Duchamp}}
42\newcommand{\atrous}{\textit{{\`a} trous}}
43\newcommand{\Atrous}{\textit{{\`A} trous}}
[3]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
[158]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{}
[18]73
74% If we are creating a PDF, use different options for graphicx, hyperref.
75\ifPDF
76  \usepackage[pdftex]{graphicx,color}
[158]77  \usepackage[pdftex,bookmarks]{hyperref}
[18]78  \hypersetup{colorlinks=true,%             
[80]79              citecolor=red,%
80              filecolor=red,%
81              linkcolor=red,%
82              urlcolor=red,%
83              }
[18]84\else
85  \usepackage[dvips]{graphicx}
86  \usepackage[dvips]{hyperref}
87\fi
88
[231]89\usepackage{lscape}
90\usepackage[dvips]{rotating}
91%\rotdriver{dvips}
92
[80]93\pagestyle{headings}
[3]94\begin{document}
95
[158]96\ifPDF
[162]97\pdfbookmark[2]{Title Page}{title}
[158]98\fi
99\newlength{\centreoff}
100\setlength{\centreoff}{-0.5\oddsidemargin}
101\addtolength{\centreoff}{0.5\evensidemargin}
[80]102\thispagestyle{empty}
[158]103\vspace*{\stretch{1}}
104\noindent\hspace*{\centreoff}%
105\makebox[0pt][l]{\begin{minipage}{\textwidth}
106\flushright
[231]107{\Huge\bfseries Source Detection with \duchamp\\[2ex]}
108{\huge\bfseries A User's Guide
[158]109
110}
111\noindent\rule[-1ex]{\textwidth}{3pt}
[231]112%\noindent\rule[-1ex]{\textwidth}{3pt}
113%{\huge\bfseries A User's Guide}
[158]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]}
[223]124Duchamp version~1.07\\
125December 6, 2006
[158]126\end{minipage}}
127
[80]128\begin{figure}[!h]
[162]129%\begin{center}
[80]130\includegraphics[width=\textwidth]{cover_image}
[162]131%\end{center}
[80]132\end{figure}
133
[158]134%\newpage
[162]135\ifPDF
136\pdfbookmark[2]{Contents}{contents}
137\fi
[3]138\tableofcontents
139
[208]140\newpage
[158]141\input{intro} %Introduction and getting going quickly
[3]142\newpage
[158]143\input{userInputs} %User Inputs
[3]144\newpage
[158]145\input{executionFlow} %What \duchamp\ is doing
[110]146\newpage
[158]147\input{outputs} %Outputs
[3]148\newpage
[158]149\input{hints} %Notes and hints on the use of \duchamp
[3]150\newpage
[158]151\input{future} %Future developments
[3]152
[171]153%\bibliographystyle{plainnat}
154%\bibliographystyle{mn2e}
155%\bibliography{guide}
[3]156
[171]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
[3]166
[158]167\appendix
[3]168\newpage
[158]169\input{app-install} %Obtaining and installing \duchamp
[87]170\newpage
[158]171\input{app-param} %Available parameters
[87]172\newpage
[158]173\input{app-paramEx} %Example parameter files
[231]174\newpage
[158]175\input{app-resultsEx} %Example results files
[231]176\newpage
[158]177\input{app-VOTable} %Example VOTable output
[231]178\newpage
[158]179\input{app-Karma} %Example Karma annotation file output
[24]180\newpage
[158]181\input{app-stats} %Robust statistics for a Normal distribution
[231]182\newpage
[158]183\input{app-waveletNoise} %How Gaussian noise changes with wavelet scale
[24]184
185
186\end{document}
Note: See TracBrowser for help on using the repository browser.