>  Docs Center  >  Libraries  >  ASTROLIB  >  UPDATE_DISTORT
Libraries

UPDATE_DISTORT

UPDATE_DISTORT

Name


    UPDATE_DISTORT

Purpose


    Update SIP nonlinear distortion coefficients for a linear transformation

Explanation


    The SIP coefficients can account for nonlinearities in the astrometry
    of an astronomical image. When the image is compressed or expanded
    these coefficients must be adjusted in a nonlinear way.

Calling Sequence


    UPDATE_DISTORT, distort, xcoeff, ycoeff

Input/output


    distort - structure giving SIP coefficients. See extast.pro for
            description of the SIP distortion structure
    xcoeff - 2 element numeric vector describing the linear transformation
              xp = xcoeff[0]*x + xcoeff[1]
    xcoeff - 2 element numeric vector describing the linear transformation
              yp = ycoeff[0]*x + ycoeff[1]

Method


    The procedure TRANSFORM_COEFF is used to determine how the
    coefficients change under the linear transformation.
    See example of usage in hrebin.pro

Revision History


    Written, December 2007 W. Landsman



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