HIRES
Cross-disperser changeout procedure
Last update: 17Feb05 (GHill)
  1. Mechanical
    1. Don't forget your bunny suit!
    2. Before entering HIRES, make sure the exposure meter photomultiplier is powered down. This can be done by logging in to lehoula as hireseng and issuing the command:
          lehoula{hireseng}: show -s expo pmt0mpow
      
      If this command does not return a value of off, contact Grant Hill or another support astronomer.
    3. Upon entering the HIRES enclosure, before doing anything else, check if the optics covers are closed. If they are not, then you need to exit the enclosure and close them from XHIRES via the ETC button. This button is in the top left of XHIRES and pops up another menu. Select the Close Down option.
    4. If the covers are closed, pull back and fasten open the curtains. If you wish extra light, set up the flood light.
    5. For safety reasons, switch the collimator shuttle and camera cover controls to manual, to prevent remote operation.
    6. Attach the fabric cross disperser cover restraint.
    7. Switch the cross disperser turret control to manual, and by pushbutton rotate it to a position normal to the entrance beam (facing the slit). This rotation can also be done from command line by typing
      	lehoula{hireseng}: m xdname=slit-axis
      
    8. Roll the CD chain lift with lifting bridle over the CD, lower it and attach by hand the knurled knobs to the threaded side inserts. Take the slack out of the lifting chain. Here is a picture.
    9. Disconnect the cover control connector, a 6-pin LEMO connector.
    10. Disconnect two airlines. One is a quick disconnect and the other is a screw disconnect.
    11. Unscrew the six 3/8-inch capscrews from the bottom of the turntable. There are two on each side, and one each rear side half. The table must be rotated slightly to access the two left side cap screws in turn. It is safest to the drive to do this with the pushbutton motor control, rather than rotating the pulley wheel by hand.
    12. Position the cart to accept the CD, over in the open area near the entry door. Slowly lift the CD off the turntable, noting that it will be resting against the rear guides as you do so. Once clear of the table and guides, it can be lifted more rapidly. Lift it high enough to manage it's transport through the narrow passage between the first corrector element and the collimator shuttle.
    13. When in position over the cart, lower the CD, positioning the cone detent over the hole in the cart. Make very gentle contact with the cart. Push the cart to the wall and attach earthquake restraint.
    14. Install the new CD in reverse order. Don't forget to reattach airlines, cover control connector, and detach and pull back fabric cover restraint.
    15. Reset the CD, collimator, and camera cover control boxes to auto. Return the lifting bridle and lift to the stow position. Turn off all lights and reconnect the curtains.

  2. Software: Home Calibration (done from HQ until further notice)

    1. Logon as user 'hireseng' and start up the control software:
      • from the pulldown menu HIRES Control Menu > Start Up All HIRES Control.
      • You will be asked a series of questions at start up:
        • Do you want to continue running the setup script? (y/n) [y]:
          • Take the default (i.e. [y]). This just gives people a chance to bail out.
        • Enter names of observing team members [Hill]:
          • You can enter anything you like or just hit return. The default is the last people who ran HIRES.
        • Enter the 3-digit number of your desired data disk:
          • Just above this question you are told which disk has the most room. It will have a number like 120, 121, 122, etc. Use that number.
        • Enter data directory name [/s/sdata122/hireseng/2Jul2003]:
          • Just hit return. The default presented to you is a subdirectory created on the disk you chose named by todays date.
        • Enter starting image number [9]:
          • This does not matter for the x-disperser calibration so you can either take the default or just enter 1. This just allows observers to number their data however they like.
        • Enter [y], or anything else to skip homing.
          • Its a good idea to home things so answer yes
        • Do you want to reset the CCD to its standard mode [y]:
          • You can just take the default since the calibration script will re-set things the way it likes later.

  • Prepare to run the calibration script:

    Example Image (as it should appear in Figdisp)

  • Run the calibration script:

  • An IDL batch job is started to read in the image, and fit a gaussian curve to a 3-column average cut to find the 0-order position on the CCD. The user is prompted to type "exit" to continue.
  • At this point, the new home positions for the X-disperser and echelle gratings are calculated and printed out. A typical X-disperser offset when first running the script is less than 300 counts. The echelle offset is always 0 (red) or -5085 (blue). Here is an example (from a blue calibration):

  • Below the output (above) is a description of how to decide whether to reboot the motor crate or abort. To add to that description:

  • If you choose to reboot:

  • After the reboot is complete you will be asked whether you want to take another image to verify that the new home positions are correct. This will run the script another time.

  • The user will be prompted to home all HIRES stages at completion, since the crate reboot leaves all stages in a reset condition.
  • Shut down HIRES.

  • Alternative Software: Home Calibration

    This script above usually completes without error, but it performs a number of "rsh" and disk cross-mount commands that may cause errors if the summit computer environment is corrupted somehow. If the user has difficulty running this automated script, the alternative manual procedure below can be followed.

    1. Run the zero-order exposure script: xd0-uv or xd0-red (both in ~hireseng/bin). An optional argument for the script is the next frame number. The script sets up the spectrograph in 0-order CD mode (xdraw=-10000), and takes a 5-s quartz D5 image, producing a single line of overlapping echelle orders on the CCD, nominally at row 1076. The displacement of the 0-order image from row 1076 determines the home offset of the CD, which must be applied at the .cfg file level, and reloaded on the crate by a reboot. The reboot happens automatically, while running a second script 'xdchange', described in step 4.
    2. A second fixed offset must be applied to the echelle grating drive. This offset is a well defined number that is automatically applied in step 4., the value of which is determined by CD type and need not be measured in a separate image.
    3. When the image has read out, read the Y-pixel centroid at column 1100 with kfigdisp FWHM.
    4. As user 'kics', run the CD rehoming script 'xdchange'. Type 'xdchange' without argument to see the syntax (note that the text output calls it 'xdchange2': they are both linked to the same script).
      	makua{kics} xdchange name y-pixel xdraw
      
      	name: is red or uv
      	y-pixel: found in step 3
      	xdraw: was logged and printed on the xd0-red screen, but can
      	  be checked in the image header.  
      
      	makua{hireseng}: xdchange red 1054 -9999		for example.
      
      The user will be prompted at the beginning of the script for whether he wants to continue, since the crate will be rebooted as part of the procedure. The user will also be prompted for a comment of the day - include your initials and any relevant information for the log.
    5. Run xd0-red or -uv again (this will home many but not all stages). Repeat steps 3 and 4. If the change in offset is less than 2 encoder counts, do not iterate in the script, and exit as instructed (cntl-C RETURN).
    6. Shut down HIRES.
  • Useful files: