>  Docs Center  >  Libraries  >  ASTROLIB  >  ADD_DISTORT
Libraries

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



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
My Account    |    Contact Us