OBSDUR
Name
obsdur
Purpose
Calculate estimate of total duration of an exposure with PCCD.
Description
Category
Data Acquisition
Calling Sequence
ans=obsdur(filter,exptime,colormode,npat)
Inputs
filter - Filter for observation (or anchor filter for color mode).
This is an integer from 0 to 9.
exptime - Exposure time for indicated filter (in seconds). Must
be greater than zero.
colormode - Character, 'c' means use color sequence, anything else means
just this filter.
npat - Number of exposures (or color patterns).
Optional Input Parameters
Keyword Input Parameters
Outputs
return value is the estimated time to complete the observation (in seconds).
NOTE: if any of the input parameters are invalid, this function will
return a negative number. That is your indication of an error.
Keyword Output Parameters
Common Blocks
Side Effects
Restrictions
Procedure
Modification History
Written by Marc W. Buie, Lowell Observatory, 2002/01/27
2005/02/07, MWB, updated documentation, added parameter validation
2009/05/21, MWB, modified for NASAcam