Bring up the AO tools
- Open VNC viewers svncserver2:2 and svncserver2:3.
- Right-click in the background of any of the VNC desktops and
select LGS-AO Control → Start LGS
Calibrations.
- Wait for a few minutes until all GUIs are up.
Verify the following GUIs are present
- On svncserver:2
- NIRC2 control terminal (nirc2eng@vm-nirc2)
- NIRC2 Status GUI
- NIRC2 Quicklook (NIRC2 Aladdin : NIRC2)
- LUI
- The SC GUI tool (available on the second workspace)
- Low-Bandwidth Manager GUI
- On svncserver2:3
- MAORI
- TT graphs
- STRAP intensity display
- Calibration tools GUI (Keck II calib)
- ACAM tool (ACAMTOOL) (available on the second workspace)
- LBWFS calibration GUI
- AOAcq (SIM mode)
Firefox
→ K2 AO WYKO
display (link only works in the internal network).
Reboot WFC
- From MAORI → File → Reboot WFC
Restart LBWFS camera server
- Ensure room lights and AO fiber source are off (or at least
SND = BLOCK)
- Open xterm as k2obsao@kNaoserver
- Run
LBWFSCamServer restart
(takes about
1 minute)
Normally, you no longer have to update the LBWFS camera config
file, but if you must... To update the LBWFS camera config
file, as kics@lbwfs-camera-server Edit:
/kroot/rel/default/Versions/kss/magiq/camera/webCamServer/default/kNlbwfs.dat
(N.B. BIAS0 = LEFT, BIAS1 = RIGHT). Enter a daylog with your updates.
Restart the LBWFS calibration tool
On the control1 (ohaiula:3) VNC:
Launch the LBWFS image acquisition GUI
On the pull down menu of the second desktop of the control0
(ohaiula:2) VNC, K2 AO Tools → LGSAO OPS →
LB IMG ACQ
Run calibrations setup
IMPORTANT: Make sure the PyWFS dichroic is not in the
optical path. On the SC GUI:
-
Click on DB (DFB) → More...
-
The current position (obdbname) should be
home. If it is not, type home
or (open) in the green obdbname box and
hit S.
Start setting up for calibrations:
- Keck II calib → Calibration setup. When prompted:
- Select NIRC2
- Select LGS-AO
- Select sodiumDichroic
- Select STRAP/LBWFS
- Turn HEPA off:
- Keck II calib → Light Source Control
- If HEPA still on, hit Click for HEPA OFF
Run DM/WLS registration
- Keck II calib → DM Control → Clear Voltages
- Keck II calib → DM/WLS Registration
- 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.030
Once the registration is completed (with error ≲ 0.3%), Dismiss the DM/WLS
Registration window.
If the LBWFS calibration GUI is not running, right-click in the
background and select Login Windows →
k2obsao@k2aoserver. On the k2aoserver terminal:
cd /home/k2obsao/jlyke/LBWFSCALS
./lbwfscals.csh &
- Click on Setup for Cals.
- Select Yes if you want to calibrate the 5x5 array in
addition to the 20x20 array.
- When prompted, select Sodium Dichroic
- Wait until the IDL prompt is back and the STRAP display
shows STRAP OK and TSS: INPOS.
- Click on Align TSS
- Click on DM/LBWFS Reg
- Correlation of recinstructed wavefront with actuator pattern
should be between 0.92 to 0.95.
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. The best image quality is achieved via the image
sharpening algorithm. If needed, one may also load a previously
saved phase map onto the DM via the WYKO.
Establish the initial shape of the DM
You can select one of the following options:
- Clear DM voltages: Keck II calib → DM Control →
Clear voltages
- Rough correction of the astigmatism introduced by IR
dichroic: Keck II calib → DM Zernike Control → 0 deg astig
→ -0.6
- Load a recently saved DM voltage file: Keck II calib → DM Control →
Load voltages from file and select the file.
All options above are equally valid although options 2 and 3 tend
to converge faster than option 1.
Check health of NIRC2 alad server
Before running the image sharpening, check that the NIRC2 alad
server is not crashed. This can be done by simply changing the
NIRC2 integration time and check that the time actually changes in
the NIRC2 status GUI. In the NIRC2 control terminal
type itime 1.
- If the terminal prompt comes back and the itime changes in
the NIRC2 status GUI, then proceed to run the image
sharpening.
- If the terminal prompt does not come back and/or RPC
error messages appear on the terminal, then you need to
follow the NIRC2 alad crash recovery procedure:
- Open a new NIRC2 control terminal: VNC background menu
→ NIRC2 Menu → NIRC2 vm-nirc2 terminal.
- Type recover on the new terminal.
- At the prompt, answer y and
hit Enter.
- The recovery script will restart the NIRC2 Quicklook
and Status GUIs.
If the recovery procedure is successful, then you can proceed
to run the image sharpening.
Run image sharpening
Image sharpening for NIRC2 takes about 10 minutes.
- Keck II calib → Image Sharpening to start the
Image Sharpening Tool
- Image Sharpening Tool → CAMERA → NIRC2
- Image Sharpening Tool → Auto Image Sharpen
Note the values of the SFPZ position in mm and the RMS of
the WF in nm shown in the IDL terminal where image sharpening
runs. As a reference, a RMS of the WF less than 35 nm represents a
good image sharpening.
Two pop-up windows will appear when the image sharpening is
completed:
- WYKO phase map: (NOTE: saving the WYKO phase map is
optional)
- If the phase map looks good, you can hit Accept to
save it on disk.
- If the phase map does not look good, you can
either hit Redo until it looks good and then
hit Accept or hit Cancel if after several
iterations it does not look good.
If you get a pop-up window with a junk.opd error
message, it means that there may be a communication problem with
the WYKO computer. You can ignore the error and report the
problem via a daylog, for instance.
- Check image quality of sharpened image. In
the NIRC2 Quicklook:
- Zoom and pan until the image of the fiber source is
well centered on the display.
- Plot → Gaussian Fit.
- Note the XFWHM and YFWHM.
The PSF of the sharpened image should look approximately
circular and have an average FWMM better than 3.5
pixels.
- Hit Dismiss in the Image Sharpening Tool
GUI.
Protect NIRC2 detector: In a vm-nirc2,
type shutter close and hit Enter.
Save DM voltages file on disk (optional)
- Keck II calib → DM Control → Save voltages to file
- Please use the following notation for file names: YYYYMMDD_nirc2.dm
In the LBWFS Calibration GUI:
-
Click on Setup for Cals
-
Select Yes if you want to calibrate the 5x5 array in
addition to the 20x20 array
-
Select Sodium Dichroic when prompted
- Insert the ND2(1%) filter
- Click on Record Image
- Examine the image and verify that all subapertures are
evenly illuminated and at least 1000 counts
- Click on Save as cog
- Check that the DM shape is the expected one
- If the DM shape looks right, answer Yes to the
prompt
- Select NIRC2 as the PO
Check the LBWFS COG minimum and maximum values on the LBWFS
Calibration terminal:
NIRC2-L.cog_18Jul2021 min/max: -0.476627 1.22225
If the minimum and maximum values are above the thresholds of
-1.0 and 1.0, respectively, the following message will pop up:
LBcog: NIRC2-L.cog_18Jul201 values above threshold.
Recommend to redo the Save as cog step when this completes
Acknowledge the message on the pop-up window and and click
on Save as cog again. Several attempts might be needed
until the COG files are within the threshold.
First run WFS calibration in LGS mode
- Keck II calib → WFS Calibration
- Choose instrument → NIRC2-L
- If the DM shape looks right, answer Yes to the
prompt
- Select → 2.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.030
Run WFS calibration again in NGS mode
- Keck II calib → WFS Calibration
- If the DM shape looks right, answer Yes to the
prompt
- Choose instrument → NIRC2-N
- Select → 2.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.030
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.