Purpose

Take one hg spectra on the blue side using the trapdoor as a shutter.
Code could be improved to specify exposure time. Exptime is hardcoded.

Usage

cal_trap_hg_blue [-nowait] [-dark] [nexp]

Arguments

-nowait = return before readout of last image in loop
nexp = number of exposure to take (default=1)

Output

Text feeback is sent to the terminal.

Exit values

0 = normal completion
1 = wrong number of arguments
2 = error during exposure

Example

1) Take a single LRIS blue exposure

cal_trap_hg_blue

2) Take 10 LRIS blue exposures

cal_trap_hg_blue 10

3) Take 10 LRIS blue exposures, and exit when the final one

begins to readout

cal_trap_hg_blue -nowait 10