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
- 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)
The NIRC2 quicklook, status display and control terminal will also
appear on the svncserver:2 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:
- Control 0:
-
NIRSPEC Format Simulator (AO Mode) GUI, aka. Echelle
Formal Simulator (EFS).
-
NIRSPEC instrument control GUI (mechanisms)
-
Program Identification GUI (PIG)
-
Eventsounds GUI
- Control 1:
-
SCAM Ginga display GUI
-
SCAM detector dialog
-
NSCAM Status display
- Control 2:
-
SPEC Ginga display GUI
-
SPEC detector Dialog
-
NSPEC Status display
Only the GUIs on the control0 and control1 VNCs are
required for the NIRSPAO calibrations.
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.
Run calibrations setup
- Keck II calib → Calibration setup. When prompted:
- Select NIRSPAO
- 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.020
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 K2 AO tools → Other AO → LBWFS CALS
- Click on Setup for Cals and Yes to calibrate both
5x5 and 20x20 arrays.
- 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.
Establish the initial shape of the DM
- 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
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.
- Keck II calib → Light Source Control → ND4
- SC GUI → SF (SFP) → sharpscam
- EFS → Obs. Mode → Setup Only
- EFS → Filter → FeII
- EFS → GO
Monitor the setup progress on the NIRSPEC instrument control
GUI and on the wait_wrapper popup terminal. Double
check that:
-
The Fold mirror stays Out
-
The FEU flip stays In
-
The Pinhole stays Out
-
The Hatch stays Closed
Once the setup is completed, take a SCAM background image
on a nirspec terminal with the following commands:
tint2 0.67
(shortest SCAM exposure time in seconds)
coadds2 1
goi2
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:
-
NIRSPEC instrument control → Hatch → New value
→ Open → Apply
-
On a nirspec terminal, use the following command:
goi2 100
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:
-
On the nirspec terminal where
goi2 100
was
running, issue a Ctrl-C
-
NIRSPEC instrument control → Hatch → New value
→ Closed → Apply
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.
In the LBWFS Calibration GUI:
- Click on Setup for Cals and Yes to calibrate
both 5x5 and 20x20 arrays.
- Select Sodium Dichroic when prompted
- 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 SCAM as the PO
First run WFS calibration in LGS mode
- Keck II calib → WFS Calibration
- Choose instrument → NIRSPAO-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.020
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 → NIRSPAO-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.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.