43 | | {{{ |
44 | | #!div style="font-size: 80%" |
45 | | {{{#!bash |
46 | | # LRS2: |
47 | | $ syscmd -v -l 'expose( seconds=20, observation=1234, exposure=1, x_binning=1, y_binning=1, type="sci" )' |
48 | | # VIRUS: |
49 | | $ syscmd -v -V 'expose( seconds=20, observation=1234, exposure=1, x_binning=1, y_binning=1, type="sci" )' |
50 | | }}} |
51 | | }}} |
52 | | |
53 | | or |
54 | | |
55 | | {{{ |
56 | | #!div style="font-size: 80%" |
57 | | {{{#!bash |
58 | | $ $HET_SRC_ROOT/camra/testing/lrs2.py 'expose( seconds=20, observation=1234, exposure=1, x_binning=1, y_binning=1, type="sci" )' |
59 | | $ $HET_SRC_ROOT/camra/testing/virus.py 'expose( seconds=20, observation=1234, exposure=1, x_binning=1, y_binning=1, type="sci" )' |
60 | | }}} |
61 | | }}} |
62 | | |
63 | | |
64 | | 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. |
65 | | |
66 | | The exposure time is in the "seconds" parameter (minimum of 15). |
67 | | |
68 | | Observation and exposure determine the directories under which the data are grouped. An example output directory structure might be |
69 | | |
70 | | {{{ |
71 | | /opt/data/20160309/lrs20000023/exp01/ |
72 | | /exp02/ |
73 | | }}} |
74 | | |
75 | | So here two exposures are grouped under the observation number 23 taken on 20160309. |
76 | | |
77 | | The combination of observation/exposure must be unique for the UTC date. The agreed upon types are "sci", "cmp", "zro", "flt", "drk", "tst". |
78 | | |
79 | | === Checking Hardware Status |
80 | | {{{ |
81 | | #!div style="font-size: 80%" |
82 | | {{{#!bash |
83 | | $ syscmd -v -l 'get_hardware_status( update_state="true" )' |
84 | | }}} |
85 | | }}} |
86 | | |
87 | | {{{ |
88 | | #!div style="font-size: 80%" |
89 | | {{{#!bash |
90 | | $ syscmd -v -V 'get_hardware_status( update_state="true" )' |
91 | | }}} |
92 | | }}} |
93 | | |
94 | | The status may be queried mid-exposure by omitting the update_state parameter. |
| 109 | == Taking Exposure == #obs |
| 110 | There are many ways to take an exposure, the simplest uses Python to issue the expose command. |
| 111 | |
| 112 | {{{ |
| 113 | #!div style="font-size: 80%" |
| 114 | {{{#!bash |
| 115 | # LRS2: |
| 116 | $ syscmd -v -l 'expose( seconds=20, observation=1234, exposure=1, x_binning=1, y_binning=1, type="sci" )' |
| 117 | # VIRUS: |
| 118 | $ syscmd -v -V 'expose( seconds=20, observation=1234, exposure=1, x_binning=1, y_binning=1, type="sci" )' |
| 119 | }}} |
| 120 | }}} |
| 121 | |
| 122 | or |
| 123 | |
| 124 | {{{ |
| 125 | #!div style="font-size: 80%" |
| 126 | {{{#!bash |
| 127 | $ $HET_SRC_ROOT/camra/testing/lrs2.py 'expose( seconds=20, observation=1234, exposure=1, x_binning=1, y_binning=1, type="sci" )' |
| 128 | $ $HET_SRC_ROOT/camra/testing/virus.py 'expose( seconds=20, observation=1234, exposure=1, x_binning=1, y_binning=1, type="sci" )' |
| 129 | }}} |
| 130 | }}} |
165 | | === Additional Help |
| 133 | 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. |
| 134 | |
| 135 | The exposure time is in the "seconds" parameter (minimum of 15). |
| 136 | |
| 137 | Observation and exposure determine the directories under which the data are grouped. An example output directory structure might be |
| 138 | |
| 139 | {{{ |
| 140 | /opt/data/20160309/lrs20000023/exp01/ |
| 141 | /exp02/ |
| 142 | }}} |
| 143 | |
| 144 | So here two exposures are grouped under the observation number 23 taken on 20160309. |
| 145 | |
| 146 | The combination of observation/exposure must be unique for the UTC date. The agreed upon types are "sci", "cmp", "zro", "flt", "drk", "tst". |
| 147 | |
| 148 | === Checking Hardware Status |
| 149 | {{{ |
| 150 | #!div style="font-size: 80%" |
| 151 | {{{#!bash |
| 152 | $ syscmd -v -l 'get_hardware_status( update_state="true" )' |
| 153 | }}} |
| 154 | }}} |
| 155 | |
| 156 | {{{ |
| 157 | #!div style="font-size: 80%" |
| 158 | {{{#!bash |
| 159 | $ syscmd -v -V 'get_hardware_status( update_state="true" )' |
| 160 | }}} |
| 161 | }}} |
| 162 | |
| 163 | The status may be queried mid-exposure by omitting the update_state parameter. |
| 164 | |
| 165 | === Additional Help === |