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).
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.
Once the registration is completed, Dismiss the DM/WLS Registration window.
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.
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.
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:
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:
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:
goi2 100
was
running, issue a Ctrl-C
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.
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.