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


  >  Docs Center  >  Libraries  >  ASTROLIB  >  DAO_VALUE

DAO_VALUE

DAO_VALUE

Name


DAO_VALUE

Purpose


Returns the value of a DAOPHOT point-spread function at a set of points.

Explanation


The value of the point-spread function is the sum of a
two-dimensional integral under a bivariate Gaussian function, and
a value obtained by interpolation in a look-up table. DAO_VALUE will
optionally compute the derivatives wrt X and Y

Calling Sequence


Result = DAO_VALUE( xx, yy, gauss, psf, [ dvdx, dvdy ] )

Inputs


XX,YY - the real coordinates of the desired point relative
to the centroid of the point-spread function.
GAUSS - 5 element vector describing the bivariate Gaussian
GAUSS(0)- the peak height of the best-fitting Gaussian profile.
GAUSS(1,2) - x and y offsets from the centroid of the point-spread
function to the center of the best-fitting Gaussian.
GAUSS(3,4) - the x and y sigmas of the best-fitting Gaussian.
PSF - a NPSF by NPSF array containing the look-up table.

Outputs


    RESULT - the computed value of the point-spread function at
            a position XX, YY relative to its centroid (which
            coincides with the center of the central pixel of the
            look-up table).

Optional Outputs


      DVDX,DVDY - the first derivatives of the composite point-spread
            function with respect to x and y.

Notes


  although the arguments XX,YY of the function DAO_VALUE
are relative to the centroid of the PSF, the function RINTER which
DAO_VALUE calls requires coordinates relative to the corner of the
array (see code).

Procedures Called


DAOERF, RINTER()

Revison History


Adapted to IDL by B. Pfarr, STX, 11/17/87 from 1986 STSDAS version
of DAOPHOT
Converted to IDL V5.0 W. Landsman September 1997



© 2018 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us