Version 4 (modified by sco, 8 years ago) (diff) |
---|
LRS2
The LRS2 instrument is controlled by the lrs2.as.utexas.edu system. These notes assume one is logged in as the hetdex user.
Startup
Linux init scripts are used to start the data acquisition server and temperature monitor.
$ sudo /etc/init.d/camra_server_start.sh $ sudo /etc/init.d/camra_monitor
Taking Exposure
There are many ways to take an exposure, the simplest uses a Python script to issue the expose command.
$ cd $HET_SRC_ROOT $ ./camra/testing/lrs2.py 'expose( seconds=20, observation=1234, exposure=1, x_binning=1, y_binning=1, type="sci" )'
The exposure command will return once the readout has started. The output FITS files will be available 40-50 seconds after that, depending on binning and disk I/O. The return string of the expose command provides the output directory for that exposure.
The exposure time is in the "seconds" parameter (minimum of 15).
Observation and exposure determine the directories under which the data are grouped. An example output directory structure might be
/opt/data/20160309/lrs20000023/exp01/ /exp02/
So here two exposures are grouped under the observation number 23 taken on 20160309.
The combination of observation/exposure must be unique for the UTC date. The agreed upon types are "sci", "cmp", "zro", "drk", "tst".
Checking Hardware Status
$ cd $HET_SRC_ROOT $ ./camra/testing/lrs2.py 'get_hardware_status( update_state="true" )'
The status may be queried mid-exposure by omitting the update_state parameter.
Calibration Script
A prototype calibration script is available. This script attempts to expose all known supported FCU configurations as well as darks and biases. The console output of the script provides a log of the calibration process so it is recommended to capture the output to a log file via tee.
$ cd $HET_SRC_ROOT $ ./integration/lrs2-cal.py 2>&1 | tee lrs-cal.log
Additional Help
Help for the complete set of CAMRA commands can be obtained by issuing a 'help()' command to the CAMRA subsystem.
$ cd $HET_SRC_ROOT $ ./camra/testing/lrs2.py 'help()'
Attachments (5)
-
APCVEncl1TDK1.png
(9.3 KB) -
added by shetrone 8 years ago.
Image of the APC LRS2/VIRUS controler in the on state
- LRS2TDK.png (7.9 KB) - added by shetrone 8 years ago.
-
APCLRS2startofnight.png
(17.6 KB) -
added by shetrone 7 years ago.
APC Gui LRS2 column when ready to start LRS2 activities
-
APCLRS2endofnight.png
(17.4 KB) -
added by shetrone 7 years ago.
APC LRS2 column when done with operations
- LRS2Mux.png (16.4 KB) - added by shetrone 7 years ago.
Download all attachments as: .zip