IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 9, 2005, 4:20:16 PM (21 years ago)
Author:
Paul Price
Message:

Added section on FITS WCS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/pslib/psLibADD.tex

    r3178 r3179  
    1 %%% $Id: psLibADD.tex,v 1.61 2005-02-10 01:28:07 eugene Exp $
     1%%% $Id: psLibADD.tex,v 1.62 2005-02-10 02:20:16 price Exp $
    22\documentclass[panstarrs]{panstarrs}
    33
     
    20122012\end{verbatim}
    20132013
     2014\subsection{WCS Translation}
     2015
     2016The FITS World Coordinate System (WCS) standard is specified in two
     2017papers: Greisen \& Calabretta, 2002, A\&A, 375, 1061 (Paper I); and
     2018Calabretta \& Greisen, 2002, A\&A, 375, 1077 (Paper II).  Two further
     2019papers (Papers III and IV) are available as drafts, and have not yet
     2020been accepted.  All these papers, in their most up-to-date form, are
     2021available from
     2022\href{http://www.atnf.csiro.au/people/mcalabre/WCS/index.html}{Mark
     2023Calabretta's page}.
     2024
     2025Papers I and II together lay out a system for converting pixel
     2026coordinates to celestial coordinates (RA, Dec).  However, these assume
     2027that linear transformations, followed by projection or deprojection
     2028are sufficient, whereas we do not expect that this is adequate to
     2029describe the \PS{} focal plane.  Paper III has to do with spectral
     2030coordinates, and does not concern us.  Paper IV has a proposed
     2031mechanism for dealing with distortions which appears to be adequate to
     2032our needs.  While the formalism has not been officially approved, and
     2033the syntax may change, the current version of the paper provides a
     2034means for translating the multilayered \PS{} system to FITS.
     2035Consequently, we will use the current version (the version we consider
     2036here is dated 22 April 2004) and update any syntax changes later as
     2037required.
     2038
     2039Paper IV proposes two separate distortion corrections --- before and
     2040after a linear transformation.  Given pixel coordinates, a distortion
     2041correction is made yielding ``corrected pixel coordinates''.  This
     2042first distortion allows correction of the individual detector (for
     2043example, if the detector is not flat, as may be the case for MegaCam).
     2044A linear transformation is then performed to ``intermediate pixel
     2045coordinates'', accounting for translation, rotation and scale.  The
     2046second distortion correction to ``corrected intermediate pixel
     2047coordinates'' is performed, which corrects for optical distortion.
     2048The resultant is then scaled and deprojected onto the sky, yielding
     2049the celestial coordinates.
     2050
     2051\subsubsection{Implementation}
     2052
     2053The first distortion will correct for tilts or bends of the detectors
     2054so that pixels are in the same plane as the focal plane
     2055(\code{psCell.toChip}).  The linear transformation will correct for
     2056the position on the focal plane (\code{psChip.toFPA}).  The second
     2057distortion will correct for distortions in the optics
     2058(\code{psFPA.toTangentPlane}).  The projection will be a simple
     2059gnomonic (``TAN'') projection.  Thus, the Paper IV formalism satisfies
     2060our needs.
     2061
     2062Paper IV also goes far beyond our needs, by providing several types of
     2063distortion functions.  We are interested (at least, for now) solely in
     2064simple polynomial distortion functions, as this is what is currently
     2065implemented for \PS{} (i.e., we are not interested in cubic spline,
     2066B-spline or lookup tables; nor are we interested in the use of
     2067auxiliary variables, though this may change in the future).  In
     2068particular, the proposed WCS system cannot handle the color and
     2069magnitude dependence currently built into psLib's \code{psDistortion},
     2070so we will need to specify a mean color and magnitude at which to
     2071evaluate the spatial polynomials.
     2072
     2073In the event that the multiple layers (\code{psCell.toChip}
     2074$\rightarrow$ \code{psChip.toFPA} $\rightarrow$
     2075\code{psFPA.toTangentPlane}) are not available, the short-cut
     2076transformation (\code{psCell.toFPA}) can be used as the first WCS
     2077distortion.  If the only available information is the ``quick and
     2078dirty'' transformation (\code{psCell.toSky}), this may be implemented
     2079using the linear transformation without any of the WCS distortions,
     2080followed by a linear `projection' (``LIN'').
     2081
     2082Reading the WCS into a psFPA can be done in the reverse order of
     2083writing the WCS.
     2084
    20142085%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    20152086%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Note: See TracChangeset for help on using the changeset viewer.