Purpose
Given the starting pixel coordinates of an object on a
LRIS guider image, and destination coordinates,
compute and apply the required telescope move to reposition
the object as desired.
Usage
gmov [-n] x1 y1 x2 y2
Arguments
-n = no move, only print the required shift
x1 = starting column location of object [pixels]
y1 = starting row location of object [pixels]
x2 = ending column location of object [pixels]
y2 = ending row location of object [pixels]
Restrictions
- Scale factor is set for the SLIT guider, so moves made on
the MOVABLE guider may be off by about 10% in distance
Exit values
0 = normal completion
1 = wrong number of arguments
2 = arguments not valid floating-point numbers
Example
1) Move a target at guider pixel (100,200) to pixel (300,400)
gomov 100 200 300 400
2) Display the telescope move required to shift a target at
pixel (100,200) to the pixel (300,400) without moving the telecope
gomov -n 100 200 300 400