wiki:HetProcedures/RA/lrs2

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)

Download all attachments as: .zip