Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


Harris Geospatial / Docs Center / Libraries / ASTROLIB / ADD_DISTORT

ADD_DISTORT

ADD_DISTORT

Name


    ADD_DISTORT

Purpose


    Add the distortion parameters in an astrometry structure to a FITS header.

Explanation


    Called by PUTAST to add SIP (http://fits.gsfc.nasa.gov/registry/sip.html )
    in an astrometry structure to a FITS header
   
    Prior to April 2012, PUTAST did not add distortion parameters so one
    had to call ADD_DISTORT after PUTAST.
    IDL> putast,h ,astr0
    IDL> add_distort,h,astr0

Calling Sequence


    add_distort, hdr, astr

Inputs


    HDR - FITS header, string array. HDR will be updated to contain
            the supplied astrometry.
    ASTR - IDL structure containing values of the astrometry parameters
            CDELT, CRPIX, CRVAL, CTYPE, LONGPOLE, PV2, and DISTORT
            See EXTAST.PRO for more info about the structure definition

Procedures Used


      SXADDPAR, TAG_EXIST()

Revision History


      Written by W. Landsman May 2005
      Enforce i+j = n for ij coefficients of order n W. Landsman April 2012



© 2017 Exelis Visual Information Solutions, Inc. |  Legal
My Account    |    Buy    |    Contact Us