IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5709


Ignore:
Timestamp:
Dec 6, 2005, 9:48:26 AM (20 years ago)
Author:
eugene
Message:

updating for cycle 10 release

Location:
trunk/doc/modules
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/modules/CameraImages.tex

    r5486 r5709  
    698698image to the tangent plane); and the projection.
    699699
    700 \begin{verbatim}
    701 bool pmAstrometryReadWCS(psPlaneTransform **transform, // Output transformation
    702                          psProjection **projection, // Output projection
    703                          psMetadata *header // Input FITS header
    704                          );
    705 bool pmAstrometryWriteWCS(psMetadata *header, // Output FITS header
    706                           psPlaneTransform *transform, // Input transformation
    707                           psProjection *projection, // Input projection
    708                           double color, // Mean color to use
    709                           double magnitude, // Mean magnitude to use
    710                           );
    711 bool pmAstrometrySimplify(psPlaneTransform **transform, // Output transformation
    712                           psProjection **projection, // Output projection
    713                           pmCell *cell // Cell for which to generate transform and projection
    714                           );
    715 \end{verbatim}
    716 
    717 \code{pmReadAstrometry} shall parse the specified FITS \code{header},
     700\begin{prototype}
     701bool pmAstromReadWCS(psPlaneTransform **transform, // Output transformation
     702                     psProjection **projection, // Output projection
     703                     psMetadata *header // Input FITS header
     704);
     705bool pmAstromWriteWCS(psMetadata *header, // Output FITS header
     706                      psPlaneTransform *transform, // Input transformation
     707                      psProjection *projection // Input projection
     708);
     709\end{prototype}
     710
     711\code{pmAstromReadWCS} shall parse the specified FITS \code{header},
    718712returning new instances of the \code{transform} and \code{projection}
    719713that represent the WCS.  The function shall return \code{true} if it
     
    721715return \code{false}.
    722716
    723 \code{pmWriteAstrometry} shall add WCS keywords to the supplied FITS
     717\code{pmAstromWriteWCS} shall add WCS keywords to the supplied FITS
    724718\code{header} that implement the given \code{transform} and
    725719\code{projection}.  The function shall return \code{true} if it was
    726720able to successfully generate the output; otherwise it shall return
    727721\code{false}.
     722
     723\begin{verbatim}
     724bool pmAstrometrySimplify(psPlaneTransform **transform, // Output transformation
     725                          psProjection **projection, // Output projection
     726                          pmCell *cell // Cell for which to generate transform and projection
     727);
     728\end{verbatim}
    728729
    729730\code{pmSimplifyAstrometry} shall take a \code{cell} and simplify the
     
    875876rotations.  We define the following function to apply this matching algorithm:
    876877\begin{prototype}
    877 psArray *pmAstromGridMatch (psArray *starlist1, psArray *starlist2, psMetadata *options);
     878pmAstromStats pmAstromGridMatch (psArray *raw, psArray *ref, psMetadata *options);
    878879\end{prototype}
    879880The input sources must have been projected to the Focal Plane
     
    887888\item \code{GRID.DEL.ANGLE} : relative rotation step size
    888889\end{itemize}
    889 Note that the angles are defined as counter-clockwise rotations of
    890 starlist 1 relative to starlist 2.
    891 
    892 This function returns all matched pairs identified in the grid cell.
    893 It also adds to the \code{options} metadata several elements defining
    894 the statistics of the best-fit (rotation and offset grid cell):
    895 \begin{itemize}
    896 \item \code{GRID.FIT.ANGLE}
    897 \item \code{GRID.FIT.LOFF}
    898 \item \code{GRID.FIT.MOFF}
    899 \item \code{GRID.FIT.METRIC}
    900 \item \code{GRID.FIT.VARIANCE}
    901 \item \code{GRID.FIT.NMATCH}
    902 \end{itemize}
    903 The elements \code{GRID.FIT.ANGLE}, \code{GRID.FIT.LOFF},
    904 \code{GRID.FIT.MOFF} define the best rotation and offset; the element
    905 \code{GRID.FIT.NMATCH} indicates the number of matched sources which
    906 fell within the match bin; the element \code{GRID.FIT.VAR} defines the
    907 variance of the sources within the match bin; the element
    908 \code{GRID.FIT.METRIC} specifies the value of the selection metric for
    909 the matched bin.  Note that the metric of choice may not necessarily
    910 be either the simple number of sources or the varience.  We find that
    911 a combination based on both which enhances the importance of having a
    912 well-populated bin with a minimal variance gives good results:
    913 $\mbox{metric} = \mbox{var} \times N^{-4}$. 
    914 
    915 The result of a \code{pmAstromGridMatch} may be used to modify the
    916 astrometry transformation information for a \code{pmFPA} image
    917 hierarchy structure.  The result of \code{pmAstromGridMatch} defines
    918 the adjustments which should be made to the reference coordinate of
    919 the projection (\code{pmFPA.projection.R,D}) and the effective
    920 rotation of the Focal Plane.  The rotation implies modification of the
    921 linear terms of the \code{pmFPA.toTangentPlane} transformation.  These
    922 two adjustments are made using the function:
    923 \begin{prototype}
    924 bool pmAstromApplyGridMatch (pmFPA *fpa, pmAstromGridMatchStats stats);
    925 \end{prototype}
    926 This function modifies the supplied \code{pmFPA} entry as described
    927 above.
    928 
    929 We define two additional functions which are used in two build
     890Note that the angles are defined as clockwise rotations of \code{raw}
     891relative to \code{ref}.
     892
     893This function returns values in the \code{pmAstromStats} structure, defined as:
     894\begin{datatype}
     895typedef struct {
     896    psPlane center;
     897    psPlane offset;
     898    double  angle;
     899    double  minMetric;
     900    double  minVar;
     901    int     nMatch;
     902} pmAstromStats;
     903\end{datatype}
     904The elements \code{angle} and \code{offset} define the best rotation
     905and offset; the element \code{nMatch} indicates the number of matched
     906sources which fell within the match bin; the element \code{minVar}
     907specifies the variance of the sources within the match bin; the
     908element \code{minMetric} specifies the value of the selection metric
     909for the matched bin.  Note that the metric of choice may not
     910necessarily be either the simple number of sources or the varience.
     911We find that a combination based on both which enhances the importance
     912of having a well-populated bin with a minimal variance gives good
     913results: $\mbox{metric} = \mbox{var} \times N^{-4}$.  The element
     914\code{center} defines the center of rotation used for rotating the
     915\code{raw} stars relative to the \code{ref} stars.
     916
     917The result of a \code{pmAstromGridMatch} may be used to modify a
     918\code{psPlaneTransform} structure \code{map}.  The result of
     919\code{pmAstromGridMatch} can be translated into adjustments of the
     920\code{psPlaneTransform} (ie the rotation and offset).  This adjustment
     921is made using the function:
     922\begin{prototype}
     923bool pmAstromGridApply (psPlaneTransform *map, pmAstromStats stats);
     924\end{prototype}
     925This function modifies the supplied \code{map} entry assuming the
     926adjustments are relative to the provided transformation.
     927
     928We define two additional functions which are used in
    930929\code{pmAstromGridMatch}, but which may be useful on their own:
    931930
    932931\begin{prototype}
    933 psArray *pmAstromGridMatchAngle (psArray *starlist1, psArray *starlist2, psMetadata *options);
     932pmAstromStats pmAstromGridAngle (psArray *raw, psArray *ref, psMetadata *options);
    934933\end{prototype}
    935934This function is identical to \code{pmAstromGridMatch}, but is valid
     
    939938
    940939\begin{prototype}
    941 psArray *pmAstromRotateObj (psArray *old, double angle, double pCenter, double qCenter);
     940psArray *pmAstromRotateObj (psArray *old, psPlane center, double angle);
    942941\end{prototype}
    943942This function accepts an array of \code{pmAstromObj} objects and
    944943rotates them by the given \code{angle} about the given center
    945 coordinate \code{pCenter,qCenter} in the Focal Plane Array
    946 coordinates. 
     944coordinate \code{center} in the Focal Plane Array coordinates.
    947945
    948946\subsubsection{Astrometry Fitting Routines}
  • trunk/doc/modules/ChangeLogSDRS.tex

    r5486 r5709  
    1 %%% $Id: ChangeLogSDRS.tex,v 1.40 2005-11-08 02:46:38 price Exp $
     1%%% $Id: ChangeLogSDRS.tex,v 1.41 2005-12-06 19:48:26 eugene Exp $
    22
    33\subsection{Changes from version 00 (16 August 2004) to version 01 (12 October 2004)}
     
    156156\end{itemize}
    157157
    158 \subsection{Changes from version 09 (18 Oct 2005) to present}
     158\subsection{Changes from version 09 (18 Oct 2005) to version 10 (06 Dec 2005)}
    159159
    160160\begin{itemize}
     
    172172\item Added \code{p_pmHDU}.
    173173\item Changed \code{pmFPA,pmChip,pmCell->private} to \code{hdu}.
     174
     175\item changed \code{pmAstrometryReadWCS} to \code{pmAstromReadWCS}
     176\item changed \code{pmAstrometryWriteWCS} to \code{pmAstromWriteWCS}
     177\item changed \code{pmAstromGridMatch} to output \code{pmAstromStats}
     178\item moved various \code{pmAstromGridMatch} output values from metadata
     179to the output \code{pmAstromStats}
     180\item changed \code{pmAstromGridMatchAngle} to \code{pmAsromGridAngle}
     181\item changed \code{pmAstromGridAngle} to output \code{pmAstromStats}
     182\item changed \code{pmAstromRotateObj} to accept center as \code{psPlane}
     183
    174184\end{itemize}
  • trunk/doc/modules/Makefile

    r5376 r5709  
    1 # $Id: Makefile,v 1.6 2005-10-19 03:23:51 eugene Exp $
     1# $Id: Makefile,v 1.7 2005-12-06 19:48:26 eugene Exp $
    22
    33PDFLATEX = env TEXINPUTS=../../latex/inputs:$(TEXINPUTS):.: pdflatex
     
    2525%.pdf: %.tex
    2626        $(PSLATEX) $*.tex
     27        dvips -z -t letter -o $*.ps $*.dvi
     28        ps2pdf $*.ps $*.pdf
     29        thumbpdf --modes=dvips $*.pdf
    2730        $(PSLATEX) $*.tex
    2831        dvips -z -t letter -o $*.ps $*.dvi
  • trunk/doc/modules/ModulesSDRS.tex

    r5463 r5709  
    1 %%% $Id: ModulesSDRS.tex,v 1.67 2005-11-03 03:20:51 price Exp $
     1%%% $Id: ModulesSDRS.tex,v 1.68 2005-12-06 19:48:26 eugene Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    1111\project{Pan-STARRS Image Processing Pipeline}
    1212\organization{Institute for Astronomy}
    13 \version{09}
     13\version{10}
    1414\docnumber{PSDC-430-012}
     15
     16\usepackage[ps2pdf]{thumbpdf}
    1517
    1618\begin{document}
     
    353708 & 2005 Sep 13 & final for cycle 8 \\ \hline
    363809 & 2005 Oct 18 & final for cycle 9 \\ \hline
     3910 & 2005 Dec 06 & draft for cycle 10 \\ \hline
    3740\RevisionsEnd
    3841
Note: See TracChangeset for help on using the changeset viewer.