#!/bin/csh -f
#+
# mx -- move telescope along rows in detector coordinate system
#
# Purpose:
#	Offset the telescope a given number of arcsec in the
#	coordinate system of the DEIMOS detector in the "x" direction
#	(i.e., parallel to detector rows).
#
# Usage:
#	mx x
# 
# Arguments:
#	x = offset in the direction parallel with CCD rows [arcsec]
# 
# Exit values:
#	 0 = normal completion
#	 1 = wrong number of arguments
#
# Example:
#	1) Move telescope "right" by 10 arcsec as seen on DEIMOS:
#		mx 10
#	Note that since this is a *telescope* move, the target will
#	"move" in the OPPOSITE direction!
#
#-
# Modification history:
#	Date unknown	RWG	Original version
#	2000-Jul-05	GDW	Added documentation
#	2002-Apr-18	GDW	Corrected documentation
#-----------------------------------------------------------------------

# check args...
if (${#argv} != 1) then
  echo "Usage: mx x"
  exit 1
endif

# effect the move...
mxy $1 0
