DEIMOS
do_focusloop script

Name

do_focusloop -- configure DEIMOS and run focusloop

Purpose

Automate the process of running a focus sequence on
the instrument

Usage

do_focusloop [-analyze] <source> [filter1 .. filterN]

Options

-analyze - launch analysis software when images are done

Arguments

source = type of lamp source, either "dome" or "internal"
filterN = name of the filter to calibrate (BVRIZ)

Procedure

- store current instrument settings
- open or close the DEIMOS hatch as needed
- insert the grid-of-holes slitmask
- switch to the mirror
- set CCD readout mode to Direct and Obstype to DmFlat or IntFlat
- for each filter:
= turn on the appropriate lamp
= set the proper integration time
= insert the filter
= run focusloop script
- turn off lamps
- restore original instrument settings

Restrictions

- General dome lights must be extinguished by the OA before
running a dome focus sequence.

Bugs

- Currently the script only acquires data for direct mode focusloops

Exit values

0 = normal completion
1 = wrong number of arguments

Example

1) Acquire a typical DEIMOS focusloop in the R filter:
do_focusloop dome R

2) Acquire internal DEIMOS focusloops in BVRIZ:
do_focusloop internal B V R I Z

3) Acquire a typical DEIMOS focusloop in the R filter and launch
analysis program:
do_focusloop -analyze dome R

See Also

The shell script do_focusloop
DEIMOS script index


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

Last modified: Sat Jul 26 15:18:48 2014