Skip to content

Commit

Permalink
Update document
Browse files Browse the repository at this point in the history
- New possible values of keywords USE_VIS and USE_T3.

- Small fixes.

- Keywords specific to MiRA have been removed.

- New input parameter FLUX.
  • Loading branch information
emmt committed Jul 14, 2018
1 parent ad93e60 commit 8422117
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 42 deletions.
Binary file modified doc/interface/OI-Interface.pdf
Binary file not shown.
83 changes: 41 additions & 42 deletions doc/interface/OI-Interface.tex
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 144,7 @@ \section{Introduction}
document to use a single entry file containing all input parameters
and data and a single output file with all the results (either
intermediate or final). The flexibility of the FITS file format is
exploited to store all these informations and data.
exploited to store all these information and data.

All image reconstruction software must be able to run from the command line
and with two arguments: the names of the input and output files (possibly with
Expand All @@ -167,7 167,7 @@ \section{Introduction}
contains the initial image. This HDU is specified by the value of the
\KEYWORD{INIT\_IMG} keyword, which gives its \KEYWORD{HDUNAME}. All other
parameters \oops{(except \KEYWORD{LAST\_IMG})} are in a binary table HDU
with \KEYWORD{EXTNAME} of \STRING{IMAGE-OI INPUT PARAM}.
with \KEYWORD{EXTNAME} of \STRING{IMAGE-OI~INPUT~PARAM}.
\label{tab:input-params}}
\endfirsthead
\caption[]{(continued)}
Expand All @@ -192,10 192,10 @@ \section{Introduction}
\ROW{RGL\_NAME}{string}{Name of the regularization method}
\ROW{AUTO\_WGT}{logical}{Automatic regularization weight}
\ROW{RGL\_WGT}{real}{Weight of the regularization}
\ROW{RGL\_ALPH}{real}{Parameter $\alpha$ of the regularization}
\ROW{RGL\_BETA}{real}{Parameter $\beta$ of the regularization}
\ROW{RGL\_GAMM}{real}{Parameter $\gamma$ of the regularization}
\ROW{RGL\_TAU}{real}{Parameter $\tau$ of the regularization}
% \ROW{RGL\_ALPH}{real}{Parameter $\alpha$ of the regularization}
% \ROW{RGL\_BETA}{real}{Parameter $\beta$ of the regularization}
% \ROW{RGL\_GAMM}{real}{Parameter $\gamma$ of the regularization}
% \ROW{RGL\_TAU}{real}{Parameter $\tau$ of the regularization}
\ROW{RGL\_PRIO}{string}{Identifier of the HDU with the prior image}
\ROW{FLUX}{real}{Assumed total flux (1 is the default)}
\ROW{FLUXERR}{real}{Error bar for the total flux (0 means strict constraint)}
Expand Down Expand Up @@ -254,49 254,49 @@ \section{Input format}
as floating-point values and specified with reserved keywords
\emph{should} be given in degrees.

The HDUs that are specific to the interface specification described in
this document have \KEYWORD{EXTNAME} values prefixed with
\STRING{IMAGE-OI}. This is to distinguish them from OIFITS HDUs, which use the
prefix \STRING{OI\_}.
The HDUs that are specific to the interface specification described in this
document have \KEYWORD{EXTNAME} values prefixed with \STRING{IMAGE-OI}.
This is to distinguish them from OIFITS HDUs, which use the prefix
\STRING{OI\_}.


\subsection{Scalar input parameters}

In version 1 of OIFITS, the first (primary) HDU is almost
empty. However, the draft version 2 of OIFITS introduces primary
header keywords summarizing the data and giving its provenance. We
propose, therefore, storing the scalar image reconstruction input
parameters in a separate HDU. In anticipation of perhaps needing to
store vector parameters in future, this HDU shall be a binary table
HDU. This binary table shall contain all of the non-image parameters,
with the exception of the pixel size and the dimensions of the
reconstructed image which are specified by those of the initial image
(see below), itself stored in a dedicated (image)
HDU. Table~\ref{tab:input-params} gives some examples of the input
In version 1 of OIFITS, the first (primary) HDU is almost empty. However,
the draft version 2 of OIFITS introduces primary header keywords
summarizing the data and giving its provenance. We propose, therefore,
storing the scalar image reconstruction input parameters in a separate HDU.
In anticipation of perhaps needing to store vector parameters in future,
this HDU shall be a binary table HDU. This binary table shall have
\KEYWORD{EXTNAME} keyword set to \STRING{IMAGE-OI~INPUT~PARAM} and shall
contain all of the non-image parameters, with the exception of the pixel
size and the dimensions of the reconstructed image which are specified by
those of the initial image (see below), itself stored in a dedicated
(image) HDU. Table~\ref{tab:input-params} gives some examples of the input
parameters.


\subsection{Data selection}

To keep things simple, any sophisticated selection, merging or editing
of the data should be done by a separate tool. The image
reconstruction software applications shall assume that they receive
clean input data. There are however a few parameters devoted to the
selection of data. The \KEYWORD{TARGET} keyword specifies the name of
the target object to reconstruct. The value of this keyword should
match one of the identifiers in the column \KEYWORD{TARGET} in the
\texttt{OI\_TARGET} binary table of the OIFITS file. In order to
restrict the types of interferometric data used for the
reconstruction, keywords \KEYWORD{USE\_VIS}, \KEYWORD{USE\_VIS2} and
\KEYWORD{USE\_T3} should be set with logical values specifying whether
to use the complex visibility, the squared visibility, and the
triple-product data if any. Not all algorithms can use all types of
data and the values of these keywords should be set (in the output
file) so as to reflect what was really used.

\oops{Shall we have \KEYWORD{USE\_VISA}/\KEYWORD{USE\_VISP} to distinguish
amplitude/phase data? And likely, \KEYWORD{USE\_T3A}/\KEYWORD{USE\_T3P}
for the triple-product data?}
To keep things simple, any sophisticated selection, merging or editing of
the data should be done by a separate tool. The image reconstruction
software applications shall assume that they receive clean input data.
There are however a few parameters devoted to the selection of data. The
\KEYWORD{TARGET} keyword specifies the name of the target object to
reconstruct. The value of this keyword should match one of the identifiers
in the column \KEYWORD{TARGET} in the \texttt{OI\_TARGET} binary table of
the OIFITS file. In order to restrict the types of interferometric data
used for the reconstruction, keywords \KEYWORD{USE\_VIS},
\KEYWORD{USE\_VIS2} and \KEYWORD{USE\_T3} should be set with values
specifying which complex visibility data, powerspectrum data and bispectrum
data to use if any. More specifically, keywords \KEYWORD{USE\_VIS} and
\KEYWORD{USE\_T3} take string values which are \STRING{NONE}, \STRING{ALL},
\STRING{AMP} or \STRING{PHI} to indicate whether all, none, only the
amplitude or only the phase of such data have to be used. Keyword
\KEYWORD{USE\_VIS2} has a boolean value indicating whether to consider the
powerspectrum data. Not all algorithms can use all types of data and the
values of these keywords should be set (in the output file) so as to
reflect what was really used.

Whatever these settings, the image reconstruction software have to
honor the \KEYWORD{FLAG} column of the OI data. We recall that this
Expand All @@ -306,7 306,6 @@ \subsection{Data selection}
Wavelength selection is discussed in the next section.



\subsection{Wavelength range}

The primary objective is to consider monochromatic image reconstruction. The
Expand Down Expand Up @@ -457,7 456,7 @@ \subsection{Final/current image}
\emph{output} parameters HDU with name of the final image and let
all reconstructed images be called:
\begin{quote}
\KEYWORD{HDUNAME = 'OUTPUT\VARIABLE{n}'}
\KEYWORD{HDUNAME = 'IMAGE-OI OUTPUT\VARIABLE{n}'}
\end{quote}
with \VARIABLE{n} the iteration number.}

Expand Down

0 comments on commit 8422117

Please sign in to comment.