Procedure Index

Procedure

A. Preliminiaries

Bring up the AO tools

  1. Open VNC viewers svncserver:2 and svncserver:3.
  2. Right-click in the background of any of the VNC desktops and select NGS AO Control Menu → Start NGS Calibrations.
  3. Wait for a few minutes until all GUIs are up.

Verify the following GUIs are present

The NIRC2 quicklook, status display and control terminal will also appear on the svncserver:3 VNC, but they are not needed for the NIRSPAO calibrations.

Firefox → K2 AO WYKO display (link only works in the internal network).

Bring up the NIRSPEC control software

Open the nspeceng VNCs and start all the NIRSPEC software from the VNC pulldown menu with NIRSPEC Control Menu → NIRSPEC Start Up.

This will launch the following GUIs:

Only the GUIs on the control0 and control1 VNCs are required for the NIRSPAO calibrations.

Run calibrations setup

Take a test image with ACAM

  1. Keck II calib → Light Source Control → 0.1% = ND3
  2. ACAMTOOL check that Tint(s) is 1.0
  3. ACAMTOOL → goi
  4. Verify that SFP is within 5 pixels of the OPT_AXIS pixel in qfix/acampo.dat; (1156.4, 1039.6) in October 2022

Run DM/WLS registration

  1. Keck II calib → DM/WLS Registration
  2. After Null Centroids, if needed, run fsmoffload from the Calibration toolbox IDL terminal until Cx,Cy in the Keck II - WFS Intensity GUI are less than 0.020

Once the registration is completed, Dismiss the DM/WLS Registration window.

B. Image sharpening

The purpose of this step is to set the DM actuators (hence shape) in a static mode (open loop) so that they correct the non-common path aberrations.

Establish the initial shape of the DM

Run image sharpening

There is no automatic image sharpening capability for NIRSPAO. Normally, a 0 deg astigmatism of -0.6 and playing a bit with the SFP obsfz value to look for the optimal focus is all what is needed.

The following procedure can be used to take continuous images with SCAM while modifying the SFP obsfz value until the best image quality is achieved.

  1. Keck II calib → Light Source Control → ND4
  2. SC GUI → SF (SFP) → sharpscam
  3. EFS → Obs. Mode → Setup Only
  4. EFS → Filter → FeII
  5. EFS → GO

Monitor the setup progress on the NIRSPEC instrument control GUI and on the wait_wrapper popup terminal. Double check that:

Once the setup is completed, take a SCAM background image on a nirspec terminal with the following commands:

Set the last image as background for Ginga. On the SCAM Ginga display NIRSPEC_SCAM → Use last as subtraction

Open the NIRSPEC hatch and start taking continuous images with SCAM:

Monitor the FWHM of the fiber source image on SCAM using the Pick tool on the SCAM Ginga display as you change the SFP obsfz value on the SC GUI.

The optimal sharpening is achieved when the fiber image is not too elongated and the FWHM of the PSF as measured by the Pick tool is < 4 pix on SCAM. It is useful to manually set the cut levels in Ginga to something like low=0, high=1000. When the fiber spot is in focus, you should see about 5500 peak counts. See example here of a good focused fiber spot on SCAM showing 3.8pix FWHM (57 mas).

Stop exposing with SCAM and protect NIRSPEC:

Note the SFP obsfz value corresponding to the sharpened image and redefine the following SFP positions with the same obsfz value: sharpscam, scam, nirspao, optnirspao and optnirspec.

C. WFS calibration

  1. Keck II calib → WFS Calibration
  2. Choose instrument → NIRSPAO-N
  3. Select → 2.4
  4. After Clear Centroids, if needed, run fsmoffload from the Calibration toolbox IDL terminal until Cx,Cy in the Keck II - WFS Intensity GUI are less than 0.020

Once all the steps in the WFS calibration procedure have been completed, hit Dismiss in the WFS Calibration window.

IMPORTANT: Proceed to the daily image quality check procedure.