Introduction
The LRIS red and blue cameras' optimal focus can change
significantly from day to day, presumably due to thermal
variations in the cameras. Hence, the careful observer will be
sure to focus the telescope every afternoon to ensure that good
data are obtained at night.
The proper focus of each camera varies with filter and observing mode
(e.g., direct imaging and slitmask spectroscopy vs. longslit
spectroscopy) and, for the red side, with the dichroic in use. Even
though the zero point for the focus changes daily, the relative
offsets between various focus modes on LRIS are believed to be stable.
Hence, if the observer focuses the instrument in the nominal imaging
mode then the focus for all other instrument modes can be derived from
that measurement.
This document describes the officially-endorsed procedure for daily
focusing of LRIS. The procedure involves using a pinhole mask in the
LRIS focal plane to obtain a series of images with varying focus
values, then analyzing these images to derive the optimal focus for
imaging mode. Once the instrument is focused, the observer generates
a table showing the corresponding focus values in other modes.
Data Acquisition Procedure
Follow these steps to obtain a sequence of focus images on the red
and blue sides using the dome flatfield lamps:
- Wait for the telescope to be released. At this point, verify on
FACSUM that the following are true:
- Telescope elevation is 45°.
- Dome azimuth and telescope azimuth differ by 90°.
- Launch the acquisition script from the desktop menu
by selecting:
- Set up the blue and red side for your imaging science
setup.
- Turn on the spectroscopic dome lamps using the utility
under LRIS Utilities -> Dome Lamps.
- Run the "Focus Loop" script available from the CMD ... on
the Xpose GUI.
The script will save these images in your data directory as
bfocNNNN.fits and
rfocNNNN.fits where NNNN is the current
frame number for blue and red.
- When the first images are displayed, use the Stats
Box mode of FIGDISP to check that the signal level within
the pinholes is at least 1000 counts above the background level.
If the illumination is inadequate, please contact your support
astronomer immediately for troubleshooting assistance.
- The data acquisition scripts for the red and blue sides run
in parallel in separate xterm windows. When these complete,
the xterm windows will disappear and a master xterm window
will display the message
Press <Enter> to exit...
Press the Enter key to terminate this window.
Data Analysis Procedure
- Determine the best focus using the IDL Xfocus tool. Note that there are
two different versions, one
for the red side and one for the blue.
- When the widget appears, use the
File > Open function to get a file chooser window.
The window will display a list of all FITS images in your
current data directory. Select the last set of images beginning
with the prefix rfoc (for red focus data) or
bfoc (for blue data). Click on the first image and
drag the mouse downward to highlight multiple images. With your
seven images selected, click the OK button to proceed.
- The program will locate the pinholes and measure the median
pinhole width on each image. The results are fit with an
hyperbola and plotted.
Click on the images below which show
what the plots should look like:
- Note the best fit value, which is the optimal focus for the
chosen instrument setup.
- Note: check that the calculated
FWHM for the minimum of the plot is 0.31-0.35 μm in the red and 0.21-0.24
in the blue. When using internal lamps to focus, expect the FWHM
to be slightly larger. The above values reference data taken
with the dome. If the FWHM for data taken using the dome lie outside
the range, something may have gone
wrong in either data taking or analysis and you should contact
your support astronomer for assistance.
- Use XLRIS to set the red and blue focus to these
best focus values. Important: Do not change any other
instrument settings until the focus table has been printed!
Repeat for other setups.