OSIRIS Calibrations Check

Introduction

This page covers the image quality check for the OSIRIS imager and spectrograph, in both NGS and LGS mode.

Launch PCU sequencer GUI

To launch the PCU sequencer:

  • Open a k1obsao@k1aoserver-new terminal
  • Type: k1pcu_seq.dsp &

Launch ASIM source GUI (only for NGS-AO)

The Asterism Simulator (ASIM) source is needed to check the closed-loop image quality in NGS-AO mode for both the OSIRIS imager and spectrograph.

To launch the ASIM source GUI:

  • Open a k1obsao@k1aoserver-new terminal
  • Type: k1asim.dsp &

OSPEC NGS-AO

Procedure:

  1. In k1aoserver-new:3 VNC desktop, select from the background menu:
    • If you are only checking the image quality in NGS-AO modde: NGS-AO Control → Start NGS calibrations
    • If you are checking the image quality in both NGS-AO and LGS-AO mode: LGS-AO Control → Start LGS calibrations
  2. Keck I Calib → Calibration setup. If prompted:
    • Select OSIRIS
    • Select NGS-AO
  3. Light Source Control → HEPA Off
  4. Launch PCU sequencer GUI
  5. Launch ASIM source GUI
  6. Turn on an set initial illumination values for the ASIM source:
    • Turn on the source by clicking on the AS button (blue is ON)
    • Set the LGS coarse intensity slider to 10%
    • Set the LGS #3 value to 50%
  7. Move the fiber to the optosiris named position using the PCU sequencer GUI.
  8. In a napili or osiris terminal, type wait4ao off.
  9. In the OOPGUI, configure a DDF to take a "dark":
    • Dataset = background
    • Object = background
    • AO type = LGS
    • LGS mode = No Laser
    • Imager settings Disabled (Spec only)
    • Filter = Kn3
    • Scale = 0.020"
    • Integraiton time = 2s
    • Click Send to Queue
  10. In the OSIRIS Data Execution Client, click Start Next Dataset to expose
  11. In OSIRIS Online Reduction GUI, specify the "sky" frame we just took,
      Calibration file → Specify a file
  12. In the Aoacq GUI:
    • mR → 6.5
    • AO Mode: NGS-AO
    • Ref: OSPEC
    • Seeing: 0.00
    • Backgrounds: WFS: No
    • Run Setup bench
  13. Select ospeclgs3 named position in the PCU sequencer GUI.
  14. Set the centroid gain for the ASIM source by typing the following command in an IDL session in a k1obsao@k1aoserver terminal:
    IDL> setcngn4asim
    (NOTE: Centroid gain is approximately 0.55)
  15. Record a new WFS background:
    • Light Source Control → BLOCK
    • ASIM → LGS #3 → 0%
    • WFS Intensity GUI → Record bkgd only
    • (NOTE: No need to set LGS coarse intensity to 0% in the ASIM source GUI)
  16. Keck I Calib → Light Source Control → 1% = ND2
  17. Configure ASIM source to take open-loop (optional) and closed-loop images with OSIRIS:
    • If the ASIM source is not on (blue is ON), turn it on by clicking on the AS button
    • Set the LGS coarse intensity slider to 10%
    • Set the LGS #3 value to 50%
  18. Check that counts in the WFS Intensity GUI are between 3,000 and 10,000. If counts are not within that range, adjust LGS #3 fine intensity and LGS coarse intensity values until sufficient average counts are obtained.
  19. Setup OSIRIS and take an open-loop image (optional)
    • In a napili or osiris terminal:
      • Type: osirisGoi spec. (This will use the same DDF to take a dataset.)
    • Or in the OOPGUI, configure the same DDF:
      • Dataset = open_loop_check
      • Object = open_loop_check
      • AO type = LGS
      • LGS mode = No Laser
      • Imager settings Disabled (Spec only)
      • Filter = Kn3
      • Scale = 0.020"
      • Integraiton time = 2s
      • Click Send to Queue
      In the OSIRIS Data Execution Client:
      • Click Start Next Dataset to expose.
  20. Check the open-loop image quality (optional)
    • Spec Quicklook → Tools → Peak fit → draw a box at least 5x5 spax around the point source.
    • Note the XFWHM,YFWHM. They should be around 2.3 spax.
  21. Aoacq GUI → Acquire star
  22. Once the AO loops are closed, freeze both the DM and DT loops:
    • Open a k1obsao@k1aoserver-new terminal
    • Type: m dmservo=0,0,0,-1,0,0
    • MAORI → AO Control → TT gain → 0
  23. Select ospec named position in the PCU sequencer GUI.
  24. Light Source Control → 1% = ND2
  25. Setup OSIRIS and take a close-loop image:
    • In a napili or osiris terminal:
      • Type: osirisGoi spec. (This will use the same DDF to take a dataset.)
    • Or in the OOPGUI, configure the same DDF:
      • Dataset = closed_loop_check
      • Object = closed_loop_check
      • AO type = LGS
      • LGS mode = No Laser
      • Imager settings Disabled (Spec only)
      • Filter = Kn3
      • Scale = 0.02"
      • Integraiton time = 2s
      • Click Send to Queue
      In the OSIRIS Data Execution Client:
      • Click Start Next Dataset to expose.
  26. Check the closed-loop image quality
    • Spec Quicklook → Tools → Peak fit → draw a box at least 5x5 spax around the point source.
    • Note the XFWHM,YFWHM. They should be around 2.3 spax.
  27. Open AO loops: MAORI → AO Control → LOOP → OPEN
  28. Once the AO loops are open, unfreeze both the DM and DT loops:
    • Open a k1obsao@k1aoserver-new terminal
    • Type: m dmservo=1,0,0,-0.99,0,0

Back to introduction

OSPEC LGS-AO

  1. If you have not done it yet:
    • On the k1aoserver-new:3 VNC desktop, select from the background menu: LGS-AO Control → Start LGS calibrations
    • Keck I Calib → Calibration setup. If prompted:
      • Select OSIRIS
      • Select LGS-AO
    • Light Source Control → HEPA Off
  2. Light Source Control → 1% = ND2
  3. In the Aoacq GUI:
    • mR → 11.5
    • AO Mode: NGS-ST
    • Ref: OSPEC
    • Seeing: 0.00
    • Backgrounds:
      • WFS: No
      • STRAP: No
    • Run Setup bench
    • If prompted, select Sodium dichroic
    • Acquire star
  4. Keck I Calib → Light Source Control → BLOCK
  5. Record a new WFS background:
    • Light Source Control → BLOCK
    • WFS Intensity GUI → Record bkgd only
  6. Keck I Calib → Light Source Control → 1% = ND2
  7. Aoacq GUI → Acquire star
  8. MAORI → AO Control
    • TT gain → 0.05
    • DM gain → 0.1
  9. Setup OSIRIS and take a close-loop image.
    • In a napili or osiris terminal:
      • Type: osirisGoi spec. (This will use the same DDF to take a dataset.)
    • Or in the OOPGUI, configure the same DDF:
      • Dataset = closed_loop_check
      • Object = closed_loop_check
      • AO type = LGS
      • LGS mode = No Laser
      • Imager Settings = Disabled (Spec only)
      • Filter = Kn3
      • Scale = 0.02"
      • Integraiton time = 2s
      • Click Send to Queue
      In the OSIRIS Data Execution Client:
      • Click Start Next Dataset to expose.
  10. Check the closed-loop image quality. (Expect the PSF to show some astigmatism.)
    • Spec Quicklook → Tools → Peak fit → draw a box at least 5x5 pix around the point source.
    • Note the XFWHM,YFWHM. They should be around 2.3 pix.
  11. On the Low-Bandwidth Manager GUI:
    • Uncheck the focus ctrl box
    • Check the cog ctrl box
  12. On the the LBWFS Imag Acq GUI:
    • Change the integ(s) to 5.0 seconds
    • Click Loop
  13. On the Low-Bandwidth Manager GUI:
    • Verify that the fast WFS COG updates
    • If there is more than 0.25mm of focus on the black plot (you can read the values in the defoc box), then move the FCS stage (obwf value in the SC GUI) to bring the LBWFS focus below 0.25mm.
    • If there is less than 0.25mm of focus on the black plot (you can read the values in the defoc box), then there is no need to tweak the FCS position.
  14. Take additional OSIRIS images and check the closed-loop image quality
  15. Once you are done:
    • Hit HALT on the LBWFS Imag Acq GUI
    • Uncheck the Focus ctrl and cog ctrl boxes on the Low-Bandwidth Manager GUI
  16. Open AO loops: MAORI → AO Control → LOOP → OPEN

Back to introduction

OSIMG NGS-AO

Procedure:

  1. In k1aoserver-new:3 VNC desktop, select from the background menu:
    • If you are only checking the image quality in NGS-AO modde: NGS-AO Control → Start NGS calibrations
    • If you are checking the image quality in both NGS-AO and LGS-AO mode: LGS-AO Control → Start LGS calibrations
  2. Keck I Calib → Calibration setup. If prompted:
    • Select OSIRIS
    • Select NGS-AO
  3. Light Source Control → HEPA Off
  4. Launch PCU sequencer GUI
  5. Launch ASIM source GUI
  6. Turn on an set initial illumination values for the ASIM source:
    • Turn on the source by clicking on the AS button (blue is ON)
    • Set the LGS coarse intensity slider to 10%
    • Set the LGS #3 value to 50%
  7. In the Aoacq GUI:
    • mR → 6.5
    • AO Mode: NGS-AO
    • Ref: OSIMG
    • Seeing: 0.00
    • Backgrounds: WFS: No
    • Run Setup bench
  8. Select osimglgs3 named position in the PCU sequencer GUI.
  9. Set the centroid gain for the ASIM source by typing the following command in an IDL session in a k1obsao@k1aoserver terminal:
    IDL> setcngn4asim
    (NOTE: Centroid gain is approximately 0.55)
  10. Record a new WFS background:
    • Light Source Control → BLOCK
    • ASIM → LGS #3 → 0%
    • WFS Intensity GUI → Record bkgd only
    • (NOTE: No need to set LGS coarse intensity to 0% in the ASIM source GUI)
  11. Configure ASIM source to take open-loop (optional) and closed-loop images with OSIRIS:
    • If the ASIM source is not on (blue is ON), turn it on by clicking on the AS button
    • Set the LGS coarse intensity slider to 10%
    • Set the LGS #3 value to 50%
  12. Check that counts in the WFS Intensity GUI are between 3,000 and 10,000. If counts are not within that range, adjust LGS #3 fine intensity and LGS coarse intensity values until sufficient average counts are obtained.
  13. Keck I Calib → Light Source Control → 0.1% = ND3
  14. Setup OSIRIS and take an open-loop image (optional)
    • In a napili or osiris terminal:
      • Type: osirisGoi imag. (This will use the same DDF to take a dataset.)
    • Or in the OOPGUI:
      • Dataset = open_loop_check
      • Object = open_loop_check
      • AO type = LGS
      • LGS mode = No Laser
      • Imager Settings: Independent (imager only)
      • Filter = BrG
      • Repeats = 1
      • Coadds = 1
      • Integraiton time = 2s
      • Click Send to Queue
      In the OSIRIS Data Execution Client:
      • Click Start Next Dataset to expose.
  15. Check the open-loop image quality
    • Imag Quicklook→ Tools → Peak fit → draw a box at least 5x5 pix around the point source.
    • Note the XFWHM,YFWHM. They should be around 4.5pix.
  16. Aoacq GUI → Acquire star
  17. MAORI → AO Control
    • TT gain → 0.1
    • DM gain → 0.1
  18. Move the FCS stage (obwf value in the SC GUI) by +2.5mm
  19. Setup OSIRIS and take a closed-loop image
    • In a napili or osiris terminal:
      • Type: osirisGoi imag. (This will use the same DDF to take a dataset.)
    • Or in the OOPGUI, configure the same DDF:
      • Dataset = closed_loop_check
      • Object = closed_loop_check
      • AO type = LGS
      • LGS mode = No Laser
      • Imager Settings: Independent (imager only)
      • Filter = BrG
      • Repeats = 1
      • Coadds = 1
      • Integraiton time = 2s
      • Click Send to Queue
      In the OSIRIS Data Execution Client:
      • Click Start Next Dataset to expose.
  20. Check the closed-loop image quality. .
    • Imag Quicklook → Tools → Peak fit → draw a box at least 5x5 pix around the point source.
    • Note the XFWHM,YFWHM. They should be around 4.5 pix.
    Note that AO system has the loops closed on the LGS #3 source from the asterism simulator. Therefore the while light source will not be in the center of the OSIRIS imager detector. Also, the source from the asterism simulator does not emit in the infrarred. Therefore it will not be visible in the OSIRIS detector. Only the white light source with the ND3 filter will be.
  21. Open AO loops: MAORI → AO Control → LOOP → OPEN

Back to introduction

OSIMG LGS-AO

  1. If you have not done it yet:
    • On the k1aoserver-new:3 VNC desktop, select from the background menu: LGS-AO Control → Start LGS calibrations
    • Keck I Calib → Calibration setup. If prompted:
      • Select OSIRIS
      • Select LGS-AO
    • Light Source Control → HEPA Off
  2. Light Source Control → 1% = ND2
  3. Start the LBWFS Img Acq GUI, if it has not been started yet
  4. In the Aoacq GUI:
    • mR → 11.5
    • AO Mode: NGS-ST
    • Ref: OSIMG
    • Seeing: 0.00
    • Run Setup Bench
    • If prompted, select Sodium dichroic
    • Acquire star
  5. Record a new WFS background:
    • Light Source Control → BLOCK
    • WFS Intensity GUI → Record bkgd only
  6. Keck I Calib → Light Source Control → 1% = ND2
  7. Aoacq GUI → Acquire star
  8. MAORI → AO Control
    • TT gain → 0.05
    • DM gain → 0.1
  9. Setup OSIRIS and take a closed-loop image
    • In a napili or osiris terminal:
      • Type osirisGoi imag. (This will use the same DDF to take a dataset.)
    • Or in the OOPGUI, configure the same DDF:
      • Dataset = closed_loop_check
      • Object = closed_loop_check
      • AO type = LGS
      • LGS mode = No Laser
      • Imager Settings: Independent (imager only)
      • Filter = BrG
      • Repeats = 1
      • Coadds = 1
      • Integraiton time = 2s
      • Click Send to Queue
      In the OSIRIS Data Execution Client:
      • Click Start Next Dataset to expose.
  10. Check the closed-loop image quality. (Expect the PSF to show some astigmatism.)
    • Imag Quicklook → Tools → Peak fit → draw a box at least 5x5 pix around the point source.
    • Note the XFWHM,YFWHM. They should be around 4.5 pix.
  11. On the Low-Bandwidth Manager GUI:
    • Uncheck the focus ctrl box
    • Check the cog ctrl box
  12. On the the LBWFS Imag Acq GUI:
    • Change the integ(s) to 5.0 seconds
    • Click Loop
  13. On the Low-Bandwidth Manager GUI:
    • Verify that the fast WFS COG updates
    • If there is more than 0.25mm of focus on the black plot (you can read the values in the defoc box), then move the FCS stage (obwf value in the SC GUI) to bring the LBWFS focus below 0.25mm.
    • If there is less than 0.25mm of focus on the black plot (you can read the values in the defoc box), then there is no need to tweak the FCS position.
  14. Once you are done:
    • Hit HALT on the LBWFS Imag Acq GUI
    • Uncheck the Focus ctrl and cog ctrl boxes on the Low-Bandwidth Manager GUI
  15. Open AO loops: MAORI → AO Control → LOOP → OPEN

Back to introduction

Put everything in safe mode

  • In a napili or osiris terminal, type m sfilter=drk
  • Keck I calib → Dismiss
    • If AO loops are still closed, select Open loops
    • Select Turn HEPA ON
    • Put WFS in standby if night observations are going to start in the next one or two hours, select YES, otherwise select NO
    • Turn the white light OFF
    • Select Send PCU to home position
  • Turn off the ASIM socurce. In the ASIM source GUI click on the AS button (gray is OFF)
  • Select Positions
  • In the background menu NGS-AO Control → Stop most NGS-AO Software or LGS-AO Control → Stop most LGS-AO Software

Back to introduction

Last modified: 12/14/2024 02:16
Send questions or comments to:AO Support

The information on this page is the property of the W. M. Keck Observatory. The contents of this page or any part thereof shall not be copied or otherwise reproduced or transferred to other documents or used or disclosed to others for any purpose other than observing support at the W. M. Keck Observatory and the subsequent analysis and publication of scientific data obtained from observations conducted at the W. M. Keck Observatory. All rights reserved. © W. M. Keck Observatory.