Purpose

Given the starting pixel coordinates of an object on a red
LRIS image, and destination coordinates, compute and apply the
required telescope move the object as desired.

Usage

movr [-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]

Output


Exit values

0 = normal completion
1 = wrong number of arguments
2 = arguments not valid floating-point numbers

Example

1) Move a target at pixel (100,200) to pixel (300,400)

movr 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

movr -n 100 200 300 400