Procedure Index

Procedure

A. Setup

Launch AO GUIs

  1. Open VNC viewer k2aoserver-new:2.
  2. Right-click on the VNC background and select LGS AO Control Menu → Start LGS Calibrations.
  3. Wait until all GUIs are up.

Verify the following GUIs are open:

Launch NIRC2 GUIs

Right-click on the VNC background and open the following under NIRC2 Menu:

Optional: In the waikoko-new terminal, run newdir to create a NIRC2 data directory for the current UTC date.

B. Bench Alignment

Complete Bench Alignment

In the PyAO Calibration Control GUI, under the Routine Calibration tab:

  1. Select the following settings:
  2. Complete all steps under the Bench Alignment tab in order.

Verify Setup with ACAM

In ACAMTOOL:

  1. Verify Tint(s) is set to 1.0.
  2. Click goi to acquire an image.
  3. Verify that the PSF is within 5 pixels of the optical axis position (982.2, 1040.5) as of March 2025.

Continue to C. NCPA Correction.

C. NCPA Correction

Determine Image Quality

In the PyAO Calibration Control GUI, under the Routine Calibration → NCPA Correction tab:

  1. Under the Image Sharpening section click Setup.
  2. Take an image on NIRC2.
  3. In the NIRC2 Quicklook GUI:
  4. If the PSF is acceptable, skip Image Sharpening and continue to Fast & Furious.

Image Sharpening

Only required if the initial open-loop PSF does not have acceptable image quality.

  1. Under the Image Sharpening section click Setup and Run.
  2. Wait for the routine to complete (approximately 20 minutes).
  3. Continue to Fast & Furious.

Fast & Furious

In the PyAO Calibration Control GUI, under the Routine Calibration → NCPA Correction tab:

  1. Under the Fast & Furious section, click Setup to configure the bench and close the AO loops.
  2. For NIRC2-Pol only: Reconfigure NIRC2 and the AO bench with the following settings.

    Note: Fast & Furious can take up to 10 minutes when calibrating NIRC2-Pol.

  3. Take an image on NIRC2 and assess the closed-loop PSF.
  4. Run Low Order F&F (10 iterations).
  5. Run High Order F&F (10 iterations).
  6. Reassess the closed-loop PSF and repeat F&F as needed.

Save DM Flat and Centroid Offsets

Keep the AO loops closed while saving.

In the PyAO Calibration Control GUI, under the Routine Calibration → NCPA Correction tab:

  1. Verify that the filenames under Save Results are correct for the selected mode.
  2. Click Save DM Flat to save the closed-loop DM shape.
  3. Click Save Centroid Offset to save the current centroid offsets using the specified filename.

Note: Timestamped copies of both files will be saved in the same directory.

D. LBWFS Calibration

Run LBWFS Calibrations

In the LBWFS Calibration Tool:

  1. Click Setup for Cals.
  2. Wait until the IDL prompt returns and the STRAP Status GUI shows STRAP: OK and TSS: INPOS.
  3. Click Align TSS.
  4. Click DM/LBWFS Reg.
  5. Click Record Image.
  6. Click Save as cog.

Verify LBWFS Cog Files

  1. Open a k2obsao@k2aoserver-new terminal.
  2. Navigate to the cog directory and launch IDL:
    cd /net/k2aoserver-new/usr/local/kroot.2024.02/rel/ao/qfix/data/Lbwfs/CentOrigins
    idl
  3. Check the 20x20 and 5x5 cog files:
    IDL> lb = readlbcog("NIRC2-L.cog")
    IDL> print, minmax(lb)
    IDL> lb5 = readlbcog("NIRC2-L5x5.cog")
    IDL> print, minmax(lb5)
  4. Verify that all values are within [-1, 1].

IMPORTANT: Proceed to the daily image quality check procedure.