\documentclass[11pt]{article}
%\usepackage[utf8]{inputenc}
\usepackage[titles]{tocloft}
\usepackage{natbib}
\usepackage{xcolor}
\input imager-def.tex %  IMAGER specific definitions
%
\pdfminorversion=7

% \newcommand{\lang}[1]{\texttt{\MakeUppercase{#1}$\backslash$}}
\newcommand{\IRAM}{\mbox{IRAM}}

\newcommand{\lmv}{\texttt{lmv}}
\newcommand{\clean}{\texttt{CLEAN}}
\newcommand{\uv}{\textit{uv}}
\newcommand{\emm}[1]{\ensuremath{#1}}   % Ensures math mode.
\newcommand{\emr}[1]{\emm{\mathrm{#1}}} % Uses math roman fonts.
\newcommand{\nds}[1]{\emm{\displaystyle#1}} % Normal display size for array and tabular environment.
\newcommand{\paren}[1]  {\nds{\left(  #1 \right) }} % Parenthesis. 
\newcommand{\cbrace}[1] {\nds{\left\{ #1 \right\}}} % Curly Braces.
\newcommand{\abs}[1]{\emm{\left| #1 \right|}} % Absolute value.
%\newcommand{\sicvar}[1] {\mbox {\tt #1}}
%\newcommand{\sicvar}[1] {\mbox {{\color{magenta}\tt #1}}} % Works with "magenta" only so far
\newcommand{\sicvar}[1] {\mbox {{\color{magenta}{\sc #1}}}} % Works with "magenta" only so far
\newcommand{\file}[1] {\mbox {{\color{magenta}\tt #1}}}
\newcommand{\script}[1] {\mbox {{\color{magenta}\tt #1}}}
\newcommand{\qom}[1] {\mbox {{\color{magenta}\tt #1}}}
\newcommand{\qomm}[2]{\mbox {{\color{magenta}\tt #1 #2}}}
\newcommand{\com}[1] {\index{#1} \qom{#1}}
\newcommand{\comm}[2]{\mbox {{\color{magenta}\tt #1 #2}}\index{#1!#2}}
%
%\newcommand{\lang}[1]{\mbox {\texttt{\MakeUppercase{#1}\textbackslash}}}
%\newcommand{\imager} {\mbox{{{\sc imager}}}}
\newcommand{\imager} {\mbox{{\color[rgb]{1,0,0}{\sc imager}}}}
\newcommand{\lang}[1]{\mbox {\color{magenta}{\texttt{\MakeUppercase{#1}\textbackslash}}}}
\newcommand{\viewer}    {\mbox{{\color{red} \sc viewer}}}
%
% Color require some strange tricks to be more or less correct in HTML version !...
\renewcommand{\sic}    {\mbox{{\color{red} \sc sic}}}
\renewcommand{\greg}   {\mbox{{\color{red} \sc greg}}}
\renewcommand{\clic}   {\mbox{{\color{red} \sc clic}}}
\renewcommand{\class}   {\mbox{{\color{red} \sc class}}}
\renewcommand{\mapping}{\mbox{{\color[rgb]{1,0,0}{\sc mapping}}}}
\renewcommand{\sicvar}[1] {\mbox {{\color{blue}\tt #1}}} % Works provided it has been define with "magenta" first in HTML !
\renewcommand{\lang}[1]{\mbox{{\color{blue}{\texttt{\MakeUppercase{#1}\textbackslash}}}}} % TRIAL
\renewcommand{\file}[1] {\mbox {{\color{cyan}\tt #1}}}
\renewcommand{\script}[1] {\mbox {{\color{violet}\tt #1}}}
%
% With the "tocloft" package, to control TOC horizontal spacings
%\renewcommand*\cftchapnumwidth{2em}
\renewcommand*\cftsecnumwidth{3em}
\renewcommand*\cftsubsecnumwidth{4em}
\renewcommand*\cftsubsubsecnumwidth{5em}
%


\makeindex{}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

% \frontmatter{} % For BOOKS only

\begin{center}
  \huge{
  \textbf{IMAGER} 
  } \\[2\bigskipamount]
  \Large{}
  A \gildas{} software\\[\bigskipamount]
  Aug, 30th, 2022\\[\bigskipamount]
  Version 3.4-1\\[\bigskipamount]
  corresponding to code language versions:
\begin{verbatim}
Language DISPLAY   1.5-06 16-May-2022  S.Guilloteau
Language CLEAN     6.4-07 29-Jun-2022  S.Guilloteau
Language CALIBRATE 1.8-02 17-Jan-2022  S.Guilloteau
Language ADVANCED  2.5-00 05-Jul-2022  S.Guilloteau
Language BUNDLES   1.6-01 18-Nov-2021  S.Guilloteau
Language IMAGER    1.0-02 30-May-2022  S.Guilloteau
\end{verbatim}
%Language DISPLAY   1.5-06 16-May-2022  S.Guilloteau
%Language CLEAN     6.4-04 02-Jun-2022  S.Guilloteau
%Language CALIBRATE 1.8-02 17-Jan-2022  S.Guilloteau
%Language ADVANCED  2.4-07 25-May-2022  S.Guilloteau
%Language BUNDLES   1.6-01 18-Nov-2021  S.Guilloteau
%Language IMAGER    1.0-02 30-May-2022  S.Guilloteau
  \vspace{0.5cm}
  \large{}
  Questions? Comments? Bug reports? 
  Mail to: \texttt{imager-hotline@services.cnrs.fr}\\[2\bigskipamount]
  The \gildas{} team welcomes an acknowledgment in publications\\
  using \gildas{} software to reduce and/or analyze data.\\
  Please use the following reference in your publications:\\
  \texttt{http://www.iram.fr/IRAMFR/GILDAS}\\
  and for \imager{} \\
  \texttt{https://imager.oasu.u-bordeaux.fr}\\[2\bigskipamount]
\end{center}

\begin{description}
\item[Documentation] 
  In charge: E.~Di~Folco (1) \\
  Active contributor: S.~Guilloteau (1) \\
  Previous contibutors: J.~Pety (2,3) \\
\item[Software] 
  In charge: S.~Guilloteau (1) \\
  Active contributor: S.~Guilloteau (1) \\
  Previous contibutors: S.~Bardeau (2), J.~Pety (2,3) 
\end{description}
1. Laboratoire d'Astrophysique de Bordeaux\\
2. IRAM\\
3. Observatoire de Paris\\

\clearpage
\newpage 

\centerline{\Large\bf Notations}
\bigskip{} %

Throughout this document, colors are used to highlight the names of categories of entities:
\begin{itemize}
\item \mbox{{\color[rgb]{1,0,0}{\sc program}}} is a GILDAS program name.
\item \lang{Language} is a SIC Language name
\item \qom{NAME} is a command name, keyword or option
\item \sicvar{SICVAR} is a SIC variable
\item \script{ScriptName} is an \imager{} script (external text file) that can be executed by the \com{@} command
\item \file{FileName} is an external file, e.g. a data file.
\end{itemize}

\begin{rawhtml}
  Note: this is the on-line version of the IMAGER Manual.
  A <A HREF="https://imager.oasu.u-bordeaux.fr/wp-content/uploads/doc/imager.pdf"> PDF version</A>
  is also available.
\end{rawhtml}

\bigskip{} %

Related information on \imager{} is available in:
\begin{latexonly}
  \begin{itemize}
  \item{IRAM Plateau de Bure Interferometer: Introduction}
  \item{IRAM Plateau de Bure Interferometer: OBS Users Guide}
  \item{IRAM Plateau de Bure Interferometer: Atmospheric Calibration}
  \item{IRAM Plateau de Bure Interferometer: Calibration Cookbook}
  \item{CLIC: Continuum and Line Interferometric Calibration}
  % \item{MIS:  Millimeter Interferometry Simulation Tools}
  \item{GREG: Graphical Possibilities}
  \item{SIC:  Command Line Interpretor}
  \end{itemize}
\end{latexonly}
%
\begin{rawhtml}
  <UL>
  <LI> IRAM Plateau de Bure Interferometer: <A HREF="https://www.iram.fr/IRAMFR/GILDAS/doc/html/noema-intro-html/noema-intro.html">
  Introduction</A>
  <LI> IRAM Plateau de Bure Interferometer: <A HREF="https://www.iram.fr/IRAMFR/GILDAS/doc/html/obs-html/obs.html"> 
  OBS Users Guide</A>
  <LI> IRAM Plateau de Bure Interferometer: <A HREF="https://www.iram.fr/IRAMFR/GILDAS/doc/html/pdbi-cookbook-html/pdbi-cookbook.html"> 
  Calibration CookBook</A>
  <LI> <A HREF="https://www.iram.fr/IRAMFR/GILDAS/doc/html/clic-html/clic.html"> CLIC:</A>  
  Continuum and Line Interferometric Calibration 
  <LI> <A HREF="https://www.iram.fr/IRAMFR/GILDAS/doc/html/greg-html/greg.html"> GREG: Graphical Possibilities</A>
  <LI> <A HREF="https://www.iram.fr/IRAMFR/GILDAS/doc/html/sic-html/sic.html">   SIC:  Command Line Interpretor</A>
  </UL>
\end{rawhtml}


\newpage
\tableofcontents{} %

% \mainmatter{} % for BOOKS only

\newpage
\input{preamble.tex}

\newpage
\input{basic-concepts}

\newpage
\input{uv-table}

\newpage
\input{single-field}

\newpage
\input{wide-field}

\newpage
\input{self-calibration}

\newpage
\input{uv-plane}

\newpage
\input{continuum}

\clearpage
\newpage
\input{view-show}

\clearpage
\newpage
\input{all-in-one}

\clearpage
\newpage
\input{polarization}

\clearpage
\newpage
\input{bundles}


%% \section{OTF}


%% \chapter{Imaging simulation}

% {Internal Helps}
\clearpage
\newpage

\section{DISPLAY Language Internal Help} \label{CLEAND}
\input{imager-help-display}

\section{CLEAN Language Internal Help} \label{CLEANH}
\input{imager-help-clean}

\newpage
\section{CALIBRATE Language Internal Help} \label{CLEANC}
\input{imager-help-calib}

\newpage
\section{ADVANCED Language Internal Help} \label{CLEANN}
\input{imager-help-news}

\newpage
\section{BUNDLES Language Internal Help} \label{CLEANB}
\input{imager-help-bundles}

\newpage
\section{IMAGER Language Internal Help} \label{CLEANI}
\input{imager-help-imager}
%\section{Description of Associated Tasks}
%\input{mapping-task-summ}
%the file mapping-task-summ.tex was copied from gildas-src-dev/integ/doc/tasks
% see also mapping-tasks-list.tex

\clearpage
\newpage
\input{bugs}
%\input{in-out-imager}

\newpage

\appendix{}
\input{app-casa}

\section{Properties of the Fourier Transform}
\label{app:fourier}
Let us name $f(x)$ a function, and $F(X)$ its Fourier transform. We
use here the simple, non-unitary convention
\begin{itemize}
\item Definition: $F(X) = \int_{-\infty}^{+\infty} f(x) e^{-2i\pi x X} dx$
\item Linearity:  $h(x) = a f(x) + b g(x)$, then $H(X) = a F5X) + b G(X)$
\item Translation:  $h(x) = f(x-x_0)$, then $H(X) = e^{-2i\pi x_0 X} F(X)$
\item Shifting: $h(x) = e^{2i\pi x X_0} f(x)$, then $H(X) = F(X-X_0)$
\item Scaling: $h(x) = f(ax)$, then $H(X) = \frac{1}{|a|}F(\frac{X}{a}$
(the so-called \textit{time reversal} property is obtained with $a=1$
\item Conjugation: if $h(x) = \bar{f(x)}$, then $H(X) = \bar{F(-X)}$
\item Integration: With $X=0$ in the definition\\
$F(0) = \int_{-\infty}^{+\infty} f(x) dx$
\item Convolution: $h(x)= f(x) * g(x)$ then $H(X) = F(X) G((X)$. \\
The Fourier Transform of a product of two functions is the convolution of
the Fourier Transforms of the functions.
\item Uncertainty principle:  the more concentrated $f(x)$ is, the 
more spread out its Fourier transform $F(X)$ must be. In particular, 
the scaling property of the Fourier transform may be seen as saying: if 
we squeeze a function in $x$, its Fourier transform stretches out in $X$. 
It is not possible to arbitrarily concentrate both a function and its 
Fourier transform. 
\end{itemize}
The definition, illustrated here with scalars, also holds for $x,X$ 
being 2-D vectors in Euclidean space, the product in the definition 
being a standard dot product of these vectors. 


% \backmatter{} % for BOOKS only

\bibliography{imager}
\bibliographystyle{aa}

\printindex{} %

\end{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
