Changes between Version 9 and Version 10 of HetProcedures/RA/lrs2
- Timestamp:
- Mar 9, 2016 8:26:53 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HetProcedures/RA/lrs2
v9 v10 53 53 === Calibration Script 54 54 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.55 A 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. 56 56 57 57 {{{ … … 59 59 {{{#!bash 60 60 $ cd $HET_SRC_ROOT 61 $ ./integration/ lrs2-cal.py-l lamp1b lamp2b -o 101 -n 11 2>&1 | tee lrs-cal.log61 $ ./integration/cal.py -i lrs2 -l lamp1b lamp2b -o 101 -n 11 2>&1 | tee lrs-cal.log 62 62 }}} 63 63 }}} … … 71 71 {{{#!bash 72 72 $ 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 74 usage: cal.py [-h] -i {lrs2,virus} [-l LAMPS [LAMPS ...]] [-o OBS] [-n NDARK] 75 [--dry-run] 75 76 76 LRS2 Calibration Script.77 VIRUS and LRS2 Calibration Script. 77 78 78 79 optional arguments: 79 80 -h, --help show this help message and exit 81 -i {lrs2,virus}, --instrument {lrs2,virus} 82 Instrument to expose. Must be virus or lrs2 80 83 -l LAMPS [LAMPS ...], --lamps LAMPS [LAMPS ...] 81 84 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'] 84 88 -o OBS, --obs OBS Observation number to start with, defaults to 101. 85 89 -n NDARK, --ndark NDARK 86 90 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 87 94 88 95 }}} … … 91 98 The list of lamp combinations is spelled out in a table at the beginning of the script. That table also 92 99 sets the exposure times and warmup times for the lamps. 100 101 Use the --dry-run option to see what the script would do given some options without actually executing any commands on the hardware. 93 102 94 103