next up previous
Next: SLA_ZD - to Zenith Distance
Up: SUBPROGRAM SPECIFICATIONS
Previous: SLA_WAIT - Time Delay

   
SLA_XY2XY - Apply Linear Model to an $[\,x,y\,]$

ACTION:
Transform one $[\,x,y\,]$ into another using a linear model of the type produced by the sla_FITXY routine.

CALL:
CALL sla_XY2XY (X1,Y1,COEFFS,X2,Y2)

GIVEN:

X1,Y1 D $[\,x,y\,]$ before transformation
COEFFS D(6) transformation coefficients (see note)

RETURNED:

X2,Y2 D $[\,x,y\,]$ after transformation

NOTES:
1.
The model relates two sets of $[\,x,y\,]$ coordinates as follows. Naming the six elements of COEFFS a,b,c,d,e & f, the present routine performs the transformation:
x2 = a + bx1 + cy1
y2 = d + ex1 + fy1
2.
See also sla_FITXY, sla_PXY, sla_INVF, sla_DCMPF.


next up previous
Next: SLA_ZD - to Zenith Distance
Up: SUBPROGRAM SPECIFICATIONS
Previous: SLA_WAIT - Time Delay

SLALIB --- Positional Astronomy Library
Starlink User Note 67
P. T. Wallace
12 October 1999
E-mail:ptw@star.rl.ac.uk