Changes between Version 9 and Version 10 of HetProcedures/RA/lrs2


Ignore:
Timestamp:
Mar 9, 2016 8:26:53 PM (8 years ago)
Author:
drory
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HetProcedures/RA/lrs2

    v9 v10  
    5353=== Calibration Script
    5454
    55 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.
     55A prototype calibration script is available that can calibrate VIRUS and LRS2.  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.
    5656
    5757{{{
     
    5959  {{{#!bash
    6060  $ cd $HET_SRC_ROOT
    61   $ ./integration/lrs2-cal.py -l lamp1b lamp2b -o 101 -n 11    2>&1 | tee lrs-cal.log
     61  $ ./integration/cal.py -i lrs2 -l lamp1b lamp2b -o 101 -n 11    2>&1 | tee lrs-cal.log
    6262  }}}
    6363}}}
     
    7171  {{{#!bash
    7272$ cd $HET_SRC_ROOT
    73 $./integration/lrs2-cal.py --help
    74 usage: lrs2-cal.py [-h] [-l LAMPS [LAMPS ...]] [-o OBS] [-n NDARK]
     73$./integration/cal.py --help
     74usage: cal.py [-h] -i {lrs2,virus} [-l LAMPS [LAMPS ...]] [-o OBS] [-n NDARK]
     75              [--dry-run]
    7576
    76 LRS2 Calibration Script.
     77VIRUS and LRS2 Calibration Script.
    7778
    7879optional arguments:
    7980  -h, --help            show this help message and exit
     81  -i {lrs2,virus}, --instrument {lrs2,virus}
     82                        Instrument to expose. Must be virus or lrs2
    8083  -l LAMPS [LAMPS ...], --lamps LAMPS [LAMPS ...]
    8184                        List of lamps to expose, e.g. '-l lamp1a lamp3a'. The
    82                         default list is all lamps: ['lamp1a', 'lamp3a', 'lamp4a',
    83                         'lamp1b', 'lamp2b', 'lamp4b', 'lamp5b', 'ldls']
     85                        default list is all lamps: ['lamp1a', 'lamp3a',
     86                        'lamp4a', 'lamp1b', 'lamp2b', 'lamp4b', 'lamp5b',
     87                        'ldls']
    8488  -o OBS, --obs OBS     Observation number to start with, defaults to 101.
    8589  -n NDARK, --ndark NDARK
    8690                        Number of darks and biases to take, defaults to 11.
     91                        Give 0 for no exposures.
     92  --dry-run      Print actions without executing commands on the
     93                        hardware
    8794
    8895}}}
     
    9198The list of lamp combinations is spelled out in a table at the beginning of the script. That table also
    9299sets the exposure times and warmup times for the lamps.
     100
     101Use the --dry-run option to see what the script would do given some options without actually executing any commands on the hardware.
    93102
    94103