OSIRIS
osirisTmin script

osirisTmin --

NAME

osirisTmin -- OSIRIS library of scripts

NAME
osirisTmin - computes minimum integration time

SYNOPSIS
osirisTmin spec|imag

DESCRIPTION
Computes the minimum integration time for the current setup.
The integration time is calculated in microseconds and then
converted to seconds at the end of the script.


ARGUMENTS
spec|imag - either the SPEC or IMAG detector

OPTIONS

EXAMPLES
tmin

ENVIRONMENT VARIABLES

FILES

SERVERS & KEYWORDS
osiris: sampmode, numreads, numgroups, endx, endy, startx, starty,

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...

Used by tint, sampmode

Modification History:
2017jul 24 - jlyke: Adapted from MOSFIRE tmin for OSIRIS

------------------------------------------------------
Boiler plate for "-h" support for command autohelp.
End of help/syncheck boiler plate.
Decide if we should use SPEC or IMAG
minumum sub array configuration to improve read time.
units are microseconds
Read in various keywords.
calculate the current sub size
set subarrayflag = `round $subarrayflag`
tframe for full frame is 1475280. Itime is integer ms and must be
at least 1476 ms if G>1
set the minumum exposure time
mosfire-style calc int part floors tmin to 1475 ms...no good
for full frames...may have to play with subarrays
set tmin = `calc "int($tmin)"`
set tmin = `round $tmin`
minimum time is in seconds

See Also

The shell script osirisTmin
OSIRIS script index


Go to: OSIRIS Home Page - Instruments Home Page - Keck Home Page

Last modified: Fri Feb 18 02:51:29 2022