It is important to determine the correct instrument focus before performing the telescope focus procedures (a.k.a. MIRA) to avoid incorrect results. The instrument focus is determined by measuring the FWHMs of comparison arc lines along the spectrum.

Long slit and multi-slit focus data are obtained with arc lamp exposures on both ordinary and extraordinary beams.

To facilitate rapid and efficient measurements of instrument focus, Keck provides software to configure the instrument, to gather focus images and to analyze them.

See below for setup and procedures.

Setup and Procedure

The default instrument setup for taking focus data is spectroscopic mode on both red and blue arms with either the 1.0 or 1.5 arcsec wide long slits in the beam:

  1. Configure the instrument for focusing.
    trapdoorclosed
    slitmakslong_0.7, long_1.0, long_1.5 or multi slit mask
    dichroicas desired
    grismas desired
    gratingas desired
    wavelenas desired
    red filterclear
    blue filterclear
    blue focus start -2450 (or current default)
    red focus start-0.61 (or current default)
    blue/red exp. time1 sec
  2. Turn on arc lamps:
  3. Start the focus loop for spectroscopy

    From the XPOSE GUIs the CMD... menu select Focus loop Spectroscopy

    This will bring up a gui with default parameters. Click the GO button to initiate the loop.

    When the first images are displayed check that the signal level of the "slit" is well above the background (at least 4000 counts above).

  4. Examples of focus data for the red and blue sides are shown below.

    Blue side image of long slit used to focus the instrument.

    Red side image of long slit used to focus the instrument.
  5. The script will take the requested number of images and save them in the default data directory as bfocXXXX.fits and rfocXXXX.fits, where XXXX is the current frame number for blue and red.
  6. Analyze the focus images
  7. From the pulldown menu, select

    LRIS Utilities --> Print Focus Table

    The focus table will be printed on the Remote Ops laser printer. Note: type focus_table in the lrisserver xterm will print the table on screen. See below for example output from focus_table
    Do not change the instrument configuration before printing the focus table. The focus_table reads the current setup before calculating the focus table. If the instrument configuration is changed after focusing, the focus_table script will report incorrect values.