ASTCHI1
Name
astchi1
Purpose (one Line Only)
Astrometric goodness-of-fit for one image based on rotation and offset
Description
Category
Astrometry
Calling Sequence
chisq = astchi1(x,y,xpred,ypred,xoffset,yoffset,rotang,alpha)
Inputs
x - Measured X position of an object, this is in raw chip coordinates
y - Measured Y position of an object, this is in raw chip coordinates
xpred - Predicted X location of the object
ypred - Predicted Y location of the object
xoffset - Offset to apply to X positions
yoffset - Offset to apply to Y positions
rotang - Rotation to apply to X coordinates (applied after rotation)
alpha - 2-element vector that gives the relative weighting between
the chisq values for the X and Y axes. [1.,1.] would apply
equal weights. [1.,0.] would return just the X chisq, and
so on.
Optional Input Parameters
Keyword Input Parameters
Outputs
return value is a scalar number giving the goodness-of-fit statistic
Keyword Output Parameters
Common Blocks
Side Effects
Restrictions
Procedure
Modification History
Written by Marc W. Buie, Southwest Research Institute, 2010/01/13