Launch AO GUIs
- Open VNC viewer k2aoserver-new:2.
- Right-click on the VNC background and select LGS AO Control Menu →
Start LGS Calibrations.
- Wait until all GUIs are up.
Verify the following GUIs are open:
- MAORI
- Tip Tilt Graphs
- WFS Intensity-Keck II
- ao2 SC GUI
- Keck II calib (Legacy Calibration Tool)
- ACAMTOOL (Acam Control Tool)
- PyAO Calibration Control-K2 (Routine Calibration Tab)
- Aoacq - HAKA SIMULATION MODE
- LBWFS CALIBRATION TOOL
- STRAP Status
- LUI
Launch NIRC2 GUIs
Right-click on the VNC background and open the following under
NIRC2 Menu:
- NIRC2 waikoko-new terminal
- Start Quicklook
- Start NIRC2 Status GUI
Optional: In the waikoko-new terminal, run newdir to
create a NIRC2 data directory for the current UTC date.
Complete Bench Alignment
In the PyAO Calibration Control GUI, under the Routine Calibration
tab:
- Select the following settings:
- AO Mode: LGS
- Instrument: NIRC2
- Plate Scale: 57x1.50 or 57x0.75 (default: 57x1.50)
- Complete all steps under the Bench Alignment tab in order.
- After Configure Detector, verify that light is visible on the
WFS Intensity Display.
- During DM-Lenslet Registration, monitor the Tip Tilt Graphs
to ensure the loop remains stable.
Verify Setup with ACAM
In ACAMTOOL:
- Verify Tint(s) is set to 1.0.
- Click goi to acquire an image.
- 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.
Determine Image Quality
In the PyAO Calibration Control GUI, under the Routine Calibration
→ NCPA Correction tab:
- Under the Image Sharpening section click Setup.
- Take an image on NIRC2.
- In the NIRC2 Quicklook GUI:
- Select Plot → Gaussian Fit.
- Verify that the PSF is circularly symmetric with an average FWHM
< 4.5 pixels.
- 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.
- Under the Image Sharpening section click Setup and Run.
- Wait for the routine to complete (approximately 20 minutes).
- Continue to Fast & Furious.
Fast & Furious
In the PyAO Calibration Control GUI, under the Routine Calibration
→ NCPA Correction tab:
- Under the Fast & Furious section, click Setup to configure
the bench and close the AO loops.
- 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.
- Take an image on NIRC2 and assess the closed-loop PSF.
- If the image quality is acceptable, skip F&F and continue to DM Flat
and Centroid Offsets.
- Run Low Order F&F (10 iterations).
- Run High Order F&F (10 iterations).
- 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:
- Verify that the filenames under Save Results are correct for the
selected mode.
- For NIRC2-Pol only: Manually update the filenames.
- Click Save DM Flat to save the closed-loop DM shape.
- Select Yes when prompted to save as the default flat.
- 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.
Run LBWFS Calibrations
In the LBWFS Calibration Tool:
- Click Setup for Cals.
- Select Yes to calibrate the 20x20 and 5x5 arrays.
- When prompted, select Sodium Dichroic.
- Wait until the IDL prompt returns and the STRAP Status GUI shows STRAP: OK and TSS: INPOS.
- Click Align TSS.
- Click DM/LBWFS Reg.
- Verify that the reconstructed wavefront correlation reported in the IDL prompt is between 0.89 and 0.95.
- Click Record Image.
- Verify that all subapertures are evenly illuminated with at least 1000 counts.
- Click Save as cog.
- Verify the DM shape is not zero.
- If the DM shape is correct, answer Yes when prompted.
- Select NIRC2 as the PO.
Verify LBWFS Cog Files
- Open a k2obsao@k2aoserver-new terminal.
- Navigate to the cog directory and launch IDL:
cd /net/k2aoserver-new/usr/local/kroot.2024.02/rel/ao/qfix/data/Lbwfs/CentOrigins
idl
- 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)
- Verify that all values are within [-1, 1].
- If any values are outside this range, rerun Setup for Cals and Save as cog.
IMPORTANT: Proceed to the daily image quality check procedure.