To use with IRAF coordinates

Purpose

Given the starting pixel coordinates of an object on a blue
LRIS image, and destination coordinates, compute and apply the
required telescope move the object as desired.
It takes into consideration the gap, tilt and offset between
the two detectors.
Works only if the coordinates are taken from IRAF. Use movb_figdisp
in case coordinates are measured with figdisp

Usage

movb_iraf [-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)

movb_iraf 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

movb -n 100 200 300 400