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:
- using slitmasks which have alignment boxes
- using the xbox software for slitmask alignment
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.
- Select alignment mode. Determine the spectrograph
configuration which will be used for slitmask alignment
imaging. Options are:
- Zeroth order imaging. This is the preferred
option, since moving the grating to the zeroth order
position is much faster than switching to the mirror.
This method may not work well if the alignment stars are
very faint (R > 20).
- Mirror imaging. This is the fallback option
if the alignment stars are very faint, or if
seeing/transparency conditions are poor.
- 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:
- Open the Gratings Panel by double-clicking
on the Grating box on the main Dashboard GUI.
- At the left-hand side of the Gratings
Panel, click on the name of the grating you will use
with this slitmask to move it into position.
- Once the grating is in position, click on the GO ZERO button at the right-hand
side of the GUI to move the grating to the imaging
position.
For the mirror, simply select Mirror from the
Grating box on the main dashboard GUI.
- Acquire slitmask images.
Obtain direct images of all of your slitmasks so that you
can verify them and calibrate xbox:
- Configure the spectrograph with your
primary grating for the night.
- From the DEIMOS Workspace Menu, select DEIMOS Utilities > Slitmask Imaging
Tool to launch the widget.
- Select all masks to be observed using this grating.
- Click GO to acquire direct
images of the masks.
- 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.
- 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.
- From the instrument menu, select
IRAF/IDL > IRAF > cl(2.14) + ds9
- In IRAF, enter the following commands to the load the
required packages:
keck
deimos
- In IRAF, execute the command
cdata to take you to the current data
directory.
- 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.
- 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.
- 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.
- 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:
- Box falls in the gap between two CCDs.
- Box lies on a bad column.
- Box was placed too close to the edge of the field of view
and was removed.
- The information on slitmask design in the image header
is corrupted.
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