Changes between Version 26 and Version 27 of HetProcedures/RA/lrs2


Ignore:
Timestamp:
Mar 14, 2016 6:55:13 PM (8 years ago)
Author:
sir
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HetProcedures/RA/lrs2

    v26 v27  
    3838
    3939
    40 === Taking Exposure
    41 There are many ways to take an exposure, the simplest uses Python to issue the expose command.
    4240
    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.
    9541
    9642== Calibrations == #Cals
     
    161107Use the --dry-run option to see what the script would do given some options without actually executing any commands on the hardware.
    162108
     109== Taking Exposure == #obs
     110There 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
     122or
     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}}}
    163131
    164132
    165 === Additional Help
     133The 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
     135The exposure time is in the "seconds" parameter (minimum of 15).
     136
     137Observation 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
     144So here two exposures are grouped under the observation number 23 taken on 20160309.
     145
     146The 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
     163The status may be queried mid-exposure by omitting the update_state parameter.
     164
     165=== Additional Help ===
    166166
    167167Help for the complete set of CAMRA commands can be obtained by issuing a 'help()' command to the CAMRA subsystem.