#!/bin/csh -f #+ # twoamps -- set CCD to dual-amp readout mode # # Purpose: # Set the DEIMOS CCD to use dual-amplifier readout mode # # Usage: # twoamps # # Arguments: # none # # Output: # Keyword output is echoed to stdout # # Restrictions: # None # # Exit values: # 0 = normal completion # 1 = wrong number of arguments # # Example: # 1) Reset the CCD to dual-amp mode: # twoamps # #- # Modification history: # 2002-Jun-20 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 # set amps... modify -s deiccd ampmode=DUAL:A+B