rmode [<camera>] <mode> <n-coadds|n-reads> <n-cycles>where
rmode simplesets the camera up to read out like a CCD. One readout is made per run, after the integration.
rmode mndr 1 1sets up the most basic MNDR (Multiple Non Destructive Read) mode. One readout is made before the integration and one after it; both are written to the output file.
rmode mndr 3 1sets up an MNDR operation with co-averaging. Three readouts are made before integration and three more after integration. The pre-integration readouts are co-averaged, as are the post-integration readouts. The output file contains two images, the first holds the pre-integration co-average and the second the post-integration co-average.
rmode cds 3 10extends the basic MNDR operation by co-averaging 10 MNDR cycles. Each cycle is itself a co-average of three pre-integration readouts and three post-integration readouts, as in the previous example.
rmode rampsets up the camera for read-up-the-ramp mode. The readouts are stored in the output FITS file in a manner determined by the setting of the storemode parameter. See the storemode command for details.
rmode spec 360sets up the camera for fast spectroscopy mode. Each readout of the fast spectroscopy observation are stored in extensions in the output FITS file.
rmode video 512sets up the camera for video mode. Each frame is stored in an image extension in the output FITS file.
CCD cameras default to simple 1 1 on start-up and reset. IR
default to mndr 1 1.
To enable the rapid spectroscopy readout mode for the camera, the
command 'rmode spec <n_reads>' is used. For example to set the
camera up to perform 360 readouts:
rmode qucam2 spec 360
Once the readout mode is set, the normal run commands (run, glance,
scratch etc.) are used to perform exposures. The time specified in the
run command is then used as the integration time for each readout in
the readout sequence e.g.
run qucam2 5 - perform a sequence of 5 second exposures, with the number of exposures determined by the n_reads parameter used in the 'rmode spec <n_reads>' command.
The time taken to perform a rapid spectroscopy run will be approximately:
t = n_reads * (exposure_time + readout_time)
To disable the rapid spectroscopy readout mode for the camera, set the readout mode back to simple:
rmode qucam2 simple
Image sequences obtained using 'rmode spec' are stored in a single fits file with extensions.
NOTE: zero second exposures are not permitted. 1ms is the minimum requested exposure time.