osirisSampmode --
NAME
osirisSampmode --
OSIRIS library of scripts
NAME
osirisSampmode - set the detector readout/sampling mode.
SYNOPSIS
osirisSampmode spec|imag [type [Nsamp [Groups] ] ]
DESCRIPTION
sets the readout mode to one of three types:
1 = single single sampling
2 = CDS correlated double sampling
3 = MCDS multiple correlated double sampling
3 = UTR Up the ramp sampling
If MCDS is chosen, a second parameter can be used to set the number
of samples. The "nsamp" command will do this as well.
If UTR is chosen a third parameter can be used to set the number
of groups. The "ngroups" command will do this as well.
If no arguments are given, the current value is displayed.
Will reset itime to minimum if needed.
ARGUMENTS
type - type of sampling
1 - single
2 - CDS
3 - MCDS
4 - UTR
Nsamp - number of reads
Groups - number of groups
OPTIONS
EXAMPLES
single => osirisSampmode spec 1
CDS => osirisSampmode imag 2
mcds => osirisSampmode imag 3 8
utr => osirisSampmode spec 4 8 4
ENVIRONMENT VARIABLES
FILES
SERVERS & KEYWORDS
SCRIPTS CALLED
EXIT STATUS
0 - normal exit, no error
1 - script aborted by an interrupt
2 - syncheck error
3 - error parsing command line input
other errors...
Modification History:
2016jun16 - MK: Adapted for OSIRIS from MOSFIRE
Made generic for use with both img and spec
2018jul03 - jlyke: Note that due to syncheck, script only accepts
numeric entries after spec|imag (no mcds, fowler)
------------------------------------------------------
Boiler plate for "-h" support for command autohelp.
Boilerplate for syncheck.
Note that the boiler plate should be transparent for all usages,
but to make correct use of syncheck you will need to specify the
correct pattern.
End of help/syncheck boiler plate.
$argv now shorter by one
print out sampmode if no other args
Compare itime with tmin and reset if necessary.
echo $diff $itime $tmin
See Also
The shell script osirisSampmode
OSIRIS script index
Go to:
OSIRIS Home Page -
Instruments Home Page -
Keck Home Page
Last modified: Fri Feb 18 02:51:29 2022