#!/bin/csh -f #+ # direct -- change CCD readout mode to direct # # Purpose: # Put the CCD into the appropriate mode to readout for direct # imaging, by reading out only the top 4 chips, dual-amp readout mode # # Usage: # direct # # Arguments: # none # # Output: # none # # Restrictions: # none # # Exit values: # 0 = normal completion # 1 = wrong number of arguments # # Example: # 1) Put CCD into direct imaging mode: # direct #- # Modification history: # 2002-Aug-12 GDW Original version # 2008-Dec-28 GDW Remove "twoamps" #----------------------------------------------------------------------- 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=Direct ## twoamps