OSIRIS
osirisMoveTel script

osirisMoveTel -- basic move telescope command for osiris (in instr coords)

NAME

osirisMoveTel -- basic move telescope command for osiris (in instr coords)

OSIRIS library of scripts



SYNOPSIS

osirisMoveTel mode1 [scale1] [filt1] x1 y1 mode2 [scale2] [filt2] x2 y2
file [filename]

DESCRIPTION

this script will issue the proper xy move to the telescope to move an
object to/from any pixel on the osiris imager or spectrograph. this
accounts for the small sky offsets between the spectrograph scales, and
for the variable spectrograph field of view with different narrowband
filters.

this script is primarily designed to be called from the OTGUI, but
may be called from the command line if desired.

OPTIONS

mode1, mode2
imag or spec

scale1, scale2
required if mode is spec [0.100, 0.050, 0.035, 0.020]
not present for imag

filt1, filt2
required if mode is spec
not present for imag

x1 y1
"from" coordinates, lenslets if mode is spec, pixels if mode is imag
can use [c, ctr, center] instead of a number.
decimal coords ARE allowed for lenslets, but decimal coords ARE NOT
allowed for imager pixels. if decimal pixels are given, they are
automatically truncated to the integer-only part.

x2 y2
"to" coordinates - see description for x1 y1

file [filename]
filename to log telescope moves to, if desired

-m
simulate calls to RPC servers. during simulated calls, the
command is echoed (instead of being executed).

EXAMPLES

osirisMoveTel imag 400 400 spec 0.035 Kn4 35 40
moves an object at imager pixel 400,400 to spectrograph pixel
35,40 in 0.035"/lenslet and Kn4 filter

ENVIRONMENT VARIABLES

none

FILES

osirisSpecCenters.dat, osirisScaleOffsets.dat

SERVERS & KEYWORDS

none

SCRIPTS CALLED

help, syncheck, osirisScriptMsg, osirisCoordI2S, xy

EXIT STATUS

0 - normal exit, no error
1 - script aborted by an interrupt
2 - syncheck error
3 - error parsing command line input
other errors...

SEE ALSO

???

See Also

The shell script osirisMoveTel
OSIRIS script index


Go to: OSIRIS Home Page - Instruments Home Page - Keck Home Page

Last modified: Fri Feb 18 02:51:29 2022