SHARC II Cheatsheet

rev. 2009 Sep 15

SHARC II START-UP

1. check that the detector temperature is <0.5 K
   (At beginning of run, ask staff to do daily 3He fridge cycle of SHARC.)

2. log in to kilauea console with username sharc     [or puuoo console]

3. start uip
     open up an xterm on kilauea     [or puuoo]
     kilauea% uip
     uip> pundit true     [if necessary]

     if you DO NOT use the sharc UIP account, then use also run this command:
     uip> cat sharccal.cat

4. open dome (control room) and make sure pointing east
     pull the red stop button to open shutter and move telescope
     check for possible collisions when slewing in ZA (ladders, sidecab, etc.)
     close all doors toward telescope
     uip> az 40
     uip> za 45     [for DSOS initialization]

5. start DSOS server
     open up another xterm on kilauea
     kilauea% ssh visitor@128.171.86.102     [ask staff for password]
     tpick% ./DSOSdaemon
     tpick% ./DSOSserver

6. check mirror position, optical path and filter wheel.
     to move tertiary mirror:  uip> tertiary /nasmyth2
     filter wheel:  "250" = 350 microns, "500" = 450 microns, "750" = 850 microns
     to get the heterodyne calibration load out of the beam:  uip> vane /out

7. power up sharcii
     - alidade power controller (charge->operate)
         at instrument, will get two green lights and a yellow
     - throw power switch on instrument to "ON"
         this should light up an additional two red lights on instrument

8. configure amplifier electronics and mulitplexer
     open up new xterm on kilauea
     kilauea% ssh sharc@sharcii     [ask staff for password]
     sharcii% cd ~/fpga
     sharcii% go
 
9. reset sharcii DSP
     
     restart the dsp code
       sharcii% cd ~/DSP
       sharcii% sharcDSP     [wait a minute]
       sharcii% s2
       SHARC2> status     [should have 12 12's and 2 36's]
       SHARC2> status     [make sure UT is updating]
       SHARC2> quit

     If the UT is not updating, try again a few times.  If that still
     doesn't work, go to: 
DSP help page

10. start IRC
     server:
       sharcii% cd ~/irc
       sharcii% sharcServer
     client:
       open another xterm on kilauea
       kilauea% cd irc
       kilauea% sharcClient     [Use sharcClientTest for SHARP (2007 Apr).]
     The messages about the polarimeter being unavailable are normal.
     Please fill out Observation Options fields (wavelength, observer, project).

11. in sharcClient, click "hardware level"

**********************************************************************

DSOS START-UP

When dome has been open for 1 hr and sun is down, start active surface correction

12. set telescope zenith angle to 45 degrees (should be there already)
    uip> za 45

13. set up monitoring for active surface corrections and initialize it
    in the window you opened earlier:
      tpick% ./DSOSmonitor
    log in to tpick with another xterm on kilauea:
      kilauea% ssh visitor@128.171.86.102
      tpick% ./DSOSinit

14. power to drive amplifiers on 3rd floor
    a. turn on power supplies for all 8 supplies
    b. press menu on each of the 8 supplies 
    c. in pairs, simultaneously press enter

15. wait for DSOS temperatures to settle
      all but 1-3 readings will be white

16. start active surface control
      tpick% ./DSOSagent

17. wait for all but 1-3 DSOS temperatures to settle before observing

**********************************************************************

SHARC II OBSERVING

18. to help pick calibrator, on kilauea:
      kilauea% orrery

19. setup telescope for sharc ii and focus
    uip> inst sharc2
    uip> planet uranus    OR    uip> observe cal_crl2688    [for example]
    If ephemeris is out of date, add /jpl option at end of planet command.

     *** NOTE:  All fixed calibrators have names that start with ***
     *** CAL_  so you can type uip> ver cal_* to see all of them ***

    *****always level hardware before starting a new exposure*****

    uip> SWEEP 30 20 /Y 20 14.142 /ALT
    set integration time in irc client: 120 sec
    if calibrator is really bright (Jupiter, Saturn, Mars at opposition), offset to level hardware:
      uip> azo 300
      level hardware
      uip> azo 0
    to focus:
      uip> focus /offset -0.40 (need to find best value)

20. find offsets from pointing data
    until 7:30 pm or so check focus every 30-45 min
    if too "horizontal" (major axes at 2 o'clock and 8 o'clock), use more
      negative offset

    quicklook:
      kilauea% cd ~/src/crush     [sharc account]
      kilauea% crush -point XXXXX     [five digit scan number]
      update fazo and fzao from quicklook program
        UIP> fazo -101.2
        UIP> fzao -12.0

    alternate quicklook:
      kilauea% cd      [sharc account]
      kilauea% sharcpoint XXXXX
      update fazo and fzao from quicklook program
        UIP> fazo -101.2
        UIP> fzao -12.0

21. Enter new source to UIP catalog:
      Edit source catalog directly, using other sources as an example.
      Some catalogs are in ~sharc/.uip/cat

**********************************************************************

CHOPPED OBSERVING (rarely used)

22. start chopper
    UIP> SEC 36.5 1.388888 4 4
    wait until chopper values stop flashing on the display
    can watch on the oscilloscope

23. to observe using slow sweep command 
    UIP> SWEEP 30 70 /Y 20 50 /ALT
    for calibrator, set integration time in irc client: 120 sec

24. data reduction
    % ssh sharc@champinux
    champinux% sharcchop XXXXX
    update fazo and fzao from quicklook program
      UIP> fazo -101.2
      UIP> fzao -12.0

25. stop chopper
    UIP> SEC /STOP

**********************************************************************

CRUSH DATA REDUCTION

26. On kilauea, logged in as sharc:
     cd ~/src/crush

27. For faint sources:
     crush -deep scan#1 scan#2 ....

   For medium sources:
     crush scan#1 scan#2 ....

   For bright sources:
     crush -bright scan#1 scan#2 ....

28. Output images are stored in:
     ~/src/data/
   View with ds9:
     ds9 imagename.fits &

**********************************************************************

SHUT DOWN

29. Start closing shutter -- takes the longest.

30. Park the telescope with UIP> STOW
      If the Sun is up, wait until the shutter is most of the way closed before this command.

31. Power off sharcii -- power switch on instrument to OFF
                         alidade power controller to charge mode

32. DSOS:
      ctrl-c to exit DSOSagent
      Run ./DSOSbase, wait a couple of minutes,
      then turn off DSOS power supplies.

33. Turn off scanning:  UIP> SWEEP /STOP

34. Turn off chopper, if necessary:  UIP> SEC /STOP

35. Exit sharcClient with File/Exit in Instrument Remote Control window.

36. Type exit in sharcServer window.

37. If the staff isn't doing the 3He cycle, set up a delayed cycle.

38. Report observatory problems to the staff, SHARC II instrument problems to
   sharc@submm.caltech.edu.

39. Push the red observatory stop button before you leave.  Or, if you're
   handing off to the next occupant, at least do:  UIP> IDLE

This file last updated on