filt k camera wide sampmode 2 tint .2 coadd 1 shutter open pupil largehex wait4ao off grism clear slitmm 5.0 slit 60
Note that the slit command reads the value of slitmm and puts the slit selected at this position.
configAOforLamps
lamp white on
goi 1
Note image number and slit position. Note that the image will likely be saturated but should yield a good x centroid for slit position. it is important to image the slit through the same filter and camera that you will be aligning with later in the night. There may be setups that require alignment in the wide camera but the spectroscopy is done in the narrow or medium camera. It is not recommend that narrow band filters be used since they can create ghost reflections. Images with the white light source off or one of the arc lamps may be more appropriate for certain settings.
Note: The array in NIRC2 has significant persistence. The is effectively high dark current in areas where high flux levels have been incident on the array. If there are bright objects in the field and the long integrations on faint objects are planned, great care should be taken to avoid the bright objects from being the same y location on the array prior to the long integrations. The NIRC2 dark slide or shutter should be closed during slews for this reason. For more information read about the NIRC2 persistence characterization.
mov x1 y1 x2 y2
Note: a useful technique is to display the difference of the object image and the slit image to confirm the setup. Use the math -> arithmetic menu in quicklook to display the difference of any two frames.
Other useful commands for making small adjustments include:
xy offsetX offsetYunits are arcsec, moves the telescope, thus object moves opposite
pxy offsetX offsetYunits are pixels, moves the telescope, thus object moves opposite
Note that in NGS mode, the accuracy of the offsets has an uncertainty of +/- 40mas and thus offsetting can take several iterations. This is due to the lack of precision in the FSM control on the AO bench.
filt k camera wide sampmode 3 16 tint 300 coadd 1 shutter open pupil largehex wait4ao on grism medres slitmm 5.0 slit 60
goi
Note that scripts exist for slit dithering (example: sp2) but should be used with caution due to the FSM problem noted above.
sp2 dy [n=]
Takes n pair of spectra seperated by dy arcsec. The spectra pairs are centered about the current position.
To guaranty slit alignment in NGS mode, it is recommended that the object be imaged between every slit nod. Again, this is due the FSM inaccuracy problem. For wider slits you may just monitor the spectral intensity and realign if it drops significantly. LGS mode is accurate to < 10mas and thus the slit dithering should not be a problem.