Background

The DEIMOS gratings must be able to clamp up at all DEIMOS rotator position angles, a task made difficult by the varying gravity and subsequent flexure of the grating select mechanism. To achieve the accurate positioning required for each grating slider's cone to insert properly into the "pin", the system employs a two-stage alignment process:

Tuning the GRATOFFn keywords is a labrious process that is made much easier through scripts provided by Bob Kibrick of UCO/Lick. This document describes the tuning procedure and documents instances of tuning.

Procedure

Follow these steps to determine the appropriate values of GRATOFFn:

  1. Obtain summit permission to rotate DEIMOS.
  2. Open a terminal as any DEIMOS account at any of the DEIMOS Linux hosts and launch script:
    optimal_offset_driver 2 3 4
    Execution time for 3 sliders is around 6h30m.
  3. The following two files will be saved on /s/sdata1004/grating_offsets:
    optimal_offset_driver.csh.2020oct22.clampup
    optimal_offset_driver.csh.2020oct22.results
  4. Extract results by running the PlotDeimosGratingOffset script as follows:
    PlotDeimosGratingOffset /s/sdata1004/grating_offsets/ optimal_offset_driver.csh.2020oct22.clampup 45000 58000 60000 AUTO AUTO AUTO AUTO
  5. Review plot saved on /s/sdata1004/grating_offsets using the command:
    eog optimal_offset_driver_2020oct22.png
  6. Update the stowed GRATOFFn values included in the deimosplus.GRATEOFF keyword with the new values from the plot.
    1. Check the old stowed values:
      • gshow -s deimosplus grateoff
    2. Write the new values to deimosplus.GRATEOFF:
      • modify -s deimosplus GRATEOFF="deimot.GRATOFF1 0 deimot.GRATOFF2 44000 deimot.GRATOFF3 56500 deimot.GRATOFF4 56500"
      • gshow -s deimosplus grateoff
    3. Test the new values are properly loaded:
      • modify -s deimosplus godefault=1
      • gshow -s deimot gratoff1 gratoff2 gratoff3 gratoff4
  7. Optional: Have Lick staff enter new values of GRATOFFn into Galil code and burn into controller ROM.

Typical grating offset adjustment plot

Grating offset adjustment plot