Take OSIRIS Rectification Matrix Data

Take OSIRIS Rectification Matrix Data

Take recmat data

  1. Sign out k1 AO bench for several hours.
    - If an AO night, scans must finish by 2 pm.
    - If a KPF night, scans must finish before sunset.
    - If a non-AO night and non-KPF night, scans may run all night as AO is light-tight--email SA and - - OA on duty to see if you can run scans at night

  2. Send email to aousers about ao and osiris are in use

  3. Set up AO bench
    - Run NGS or LGS calibration setup, either is fine
    - Run k1asim.dsp in a k1aoserver-new terminal, this will bring up the ASIM GUI
    - Turn off ASIM and fiber source lights
    - In the PCU GUI, send PCU to telescope_sim

    k1asim.png
    K1 ASIM GUI
  4. Set up OSIRIS
    - In a napili terminal in an OSIRIS VNC, run osirisSetupNight or osirisSetupNight -nogui
    - Close the OSIRIS Online Reduction GUI (OORGUI) in control1, otherwise it creates a bunch of useless data cubes
    - HOME MECHANISMS
    - Verify that the ofls service is running as osrseng. ct in a napili window, there should be 1 process
    - In a napili window, cd /home/osrseng/larkin/scripts/
    - Create and view your script (typically named scan3_yymmdd), based on desired sfilter and sscale
    - Run ./scan3_yymmdd to start scans
    - Every 2-3 modes, re-home the lenslet mask in the script Make recmats

Example script scan3_250609

#!/bin/csh -f #+ # # take_main_scans # # osiris library of scripts, # cycles through specified scales and filters taking column scans # #------------------------------------------------------------------------- # Boiler plate for "-h" support for command autohelp. if ("$1" == "-h") then help $0 exit $status endif # Boilerplate for syncheck. # Note that the boiler plate should be transparent for all usages, # but to make correct use of syncheck you will need to specify the # correct pattern. set noglob set CheckStatus = `syncheck -command $0 $* -pattern ` unset noglob # End of help/syncheck boiler plate. # Check for xcount trigger level. if (! ${?XCOUNT_TRIGGER} ) setenv XCOUNT_TRIGGER 60 # set up to trap control-C onintr reset # send PCU to telsim modify -s ao pcuname=telescope_sim modify -s osiris sfilter="Hn1" sleep 10 fix_sfilter wf_sfilt wf_mask modify -s osiris sscale=0.050 sleep 5 wf_scale measure_arcs measure_matrix_var3 modify -s osiris sfilter="Hn3" sleep 10 fix_sfilter wf_sfilt wf_mask modify -s osiris sscale=0.050 sleep 5 wf_scale measure_arcs measure_matrix_var3 # re-init lenslet mask modify -s om4s home=1 wf_mask # Turn off lamps lamp all off lamp var off echo "" exit #----------------------------------------------------------------------- # Handle control C reset: echo "Control C abort detected ... Ending take_main_scans." exit 1 #----------------------------------------------------------------------- # Kill thy self and thy master... die: unalias rm rm /tmp/ids >& /dev/null rm /tmp/idp >& /dev/null # put the list of processes into a /tmp file /usr/bin/ps -ef > /tmp/ids # grep list file searching for scripts directory. grep take_main_scans /tmp/ids > /tmp/idp