Purpose

This checklist describes the procedure for you to follow during the afternoon in order to prepare for aligning multiobject slitmasks on DEIMOS, assuming you are:

Procedure

The DEIMOS development team at UCO/Lick has delivered a sophisticated and highly automated slitmask alignment software package which makes the procedure relatively quick and painless. In order for the automated procedure to succeed at night, it is necessary for the observer to perform some rudimentary calibration procedures in the afternoon.

Afternoon Calibration

The goal of this procedure is to tune parameters of the optical modeling algorithm in order to get the correct mapping from physical position on the slitmask to CCD pixels. Only one DEIMOS image must be acquired to complete the calibration.
  1. Select alignment mode. Determine the spectrograph configuration which will be used for slitmask alignment imaging. Options are:
  2. Configure DEIMOS. Insert the slider which will be used for imaging your masks. (Note: while it's not necessary to use a single slider for all of your slitmask alignment imaging, doing so will simplify the process; we assume the one-slider case here.) For zeroth order imaging, the steps are: For the mirror, simply select Mirror from the Grating box on the main dashboard GUI.
  3. Acquire slitmask images. Obtain direct images of all of your slitmasks so that you can verify them and calibrate xbox:
    1. Configure the spectrograph with your primary grating for the night.
    2. From the DEIMOS Workspace Menu, select DEIMOS Utilities > Slitmask Imaging Tool to launch the widget.
    3. Select all masks to be observed using this grating.
    4. Click GO to acquire direct images of the masks.
    5. If the secondary slider will also be used, insert this slider, select the masks to be observed with it, and click GO to acquire images with the other slider.
  4. Configure xbox. In this step, you will tune the parameters of the DEIMOS optical model so that the software can predict the pixel location of your alignment boxes based on the information in the slitmask design file.
    1. From the instrument menu, select
      	IRAF/IDL > IRAF > cl(2.14) + ds9
    2. In IRAF, enter the following commands to the load the required packages:
      	keck
      	deimos
    3. In IRAF, execute the command cdata to take you to the current data directory.
    4. Next, issue the command
      	tune_qmodel
      When prompted for the image name, enter the name of any direct image of a mask (or simply enter the special string last to analyze the most recently acquired image). The program will display the alignment image on ds9 and mark the (inaccurate) predicted locations for the alignment boxes in red.
    5. When prompted by the software, place the cursor in the exact center of any one of the alignment boxes on the image display and press any key. The program will then adjust the qmodel parameters mu and roll3 in order to achieve agreement between the predicted and indicated positions for this alignment box. The resulting locations of all alignment boxes will then be marked on the image in green.
    6. The script will now run xbox for you in practice mode. Verify that all of the alignment boxes on the displayed image are properly found. If so, then the optical model is properly tuned and xbox is ready for action.
  5. Verify masks. Run xbox in practice mode on all of your slitmasks to verify that the masks were cut correctly and that the software predicts the correct box location in each case. (NOTE: it is essential to run this on ALL of your masks to ensure that they have the correct information in their image headers!) If xbox fails to locate the alignment boxes on certain masks, use the check_boxes command in IRAF to show where xbox is looking for boxes and try to determine why they are not being found. Likely reasons are: For problem masks, use check_boxes to generate a file of box positions and feed this as an input file to xbox.

Return to the Afternoon Checklist.

See Also