#!/bin/csh -f
#+
# spectral -- change CCD readout mode to spectral, one amp
#
# Purpose:
#	Put the CCD into the appropriate mode to readout for
#	spectroscopy, by reading out all 8 chips in single-amp mode
#
# Usage:
#	spectral
# 
# Arguments:
#	none
# 
# Output:
#	none
# 
# Restrictions:
#	none
# 
# Exit values:
#	 0 = normal completion
#	 1 = wrong number of arguments
#
# Example:
#	1) Put CCD into spectroscopy mode:
#		spectral
#-
# Modification history:
#	2002-Aug-12	GDW	Original version
#-----------------------------------------------------------------------

set buf = $0
set cmd = $buf:t
set usage = "Usage: $cmd"

# verify args...
if ( $#argv > 0 ) then
  printf "$usage\n"
  exit 1
endif

modify -s deiccd MOSMODE=Spectral
oneamp