Changes

SHOCnWonder

479 bytes added, 8 May
/* Acquiring a target with SHOCnWonder on the instrument selector */
*'''Field of view:''' 2.7' × 2.7' (the new system also has a focal reducer so the FoV is roughy double the width of the old system)
*'''Filters:'''
*:'''Filter wheel A:''' U,B,V,R,I - but currently in an unusual order, as per the table below - the SHOCnWonder GUI will always reflect the true positions
*:'''Filter wheel B:''' Currently unpopulated (will later have u', g', r', i', z')
{| class="wikitable" border="1"
|-
! Filter wheel
! 1
! 2
! 3
! 4
! 5
! 6
! 7
! 8
|-
| A
| B
| V
| R
| I
| --
| --
| --
| U
|-
| B
| --
| --
| --
| --
| --
| --
| --
| --
|}
== GUI and login details ==
'''On the TCS (tcs74v4), slew to the target:'''
'''1.''' If the guide star finderchart GUI is open, kill it with the "x" in the top corner(this needs to happen before a new field can be loaded)
'''2.''' Enter RA and Dec into the guide star coordinates GUI, then press “Set”
'''5.''' Press “Auto” on TCS GUI (telescope will slew to target)
'''To ensure that the guide camera is away from the centre of the field -- to avoid obscuring the SHOC beam, -- you should select your guide star now:'''
'''6.''' On guide star finderchart GUI - click on an appropriate guide star in the region outside of the green circle and the red rectangle
<br clear=all>
[[File:Instselectorguiderfov.png|300px|left|thumb|Guider field of view with the new instrument selector. SHOCnWonder's field is centred on the green circle. The guide probe enters stage right. Guide stars should be selected from the region outside of both the green circle and the red rectangle.]]
<br clear=all>
'''7.''' On TCS GUI: XY Slides Control - click on “Goto GS”
== Running scripts ==
For users that wish to run scripts (e.g., continuously take exposures while cycling a filter sequence), we do not support the old buggy scripting method via the GUI anymore. In fact, on the new system it doesn't work at all so don't even try.
We have developed a new much more stable command line method to run scripts. The instructions are as follow:
* Make sure the SHOC camera is ON and initialised (i.e., you have opened the SHOC webgui web GUI and hit the "Turn Camera On" button)
* Setup the camera to your desired readout mode, binning and gain settings (set triggering to "Internal" and kinetic series to "1")
* ssh to the "shoc box" SHOC PC as the "shoc74in" user (password is the regular "shoc74in" user’s password)


ssh shoc74in@shoc74in.suth.saao.ac.za
* Open the newly created script file with nano (or which ever terminal editor you prefer) and edit the script sequence as you desire. The positions you have to enter for the desired filters can be checked on the filter-wheel webgui (click on the blue “More” text) 


nano my_script.txt
* '''NB. very import important step''' - enter the "shocenv" python environment. If you do not do this you will get all sorts of python package import errors when trying to run the script routine


source /home/ccd/.pyenvs/shocenv/bin/activate
* Run the script specifying a few fields that will be used to add additional information to the headers('''if your declination is negative, make sure you put square brackets around it)''': python run_shoc_script.py --observer "John Soap" --ra 0012:0043:00 56 --dec +00[-32:0007:00 25] --obj "my awesome star" --type OBJECT --script_file my_script.txt --num_iter 3
* If you get this message on the terminal and you’l also notice the SHOC camera page GUI showing a "Error: 500 Internal Server Error":
[ERROR] Error running script: TSocket read 0 bytes
1,054
edits