pandeia_io.exposure_time
pandeia_io.exposure_time(instrument, subarray, readout, ngroup, nint, nexp=1)
Calculate the exposure time for the given instrumental setup. Based on pandeia.engine.exposure.
Parameters
instrument |
|
Which instruments (miri, nircam, niriss, or nirspec). |
required |
subarray |
|
Subarray mode for the given instrument. |
required |
readout |
|
Readout pattern mode for the given instrument. |
required |
ngroup |
|
Number of groups per integration. Must be >= 2. |
required |
nint |
|
Number of integrations. |
required |
nexp |
|
Number of exposures. |
1 |
Returns
exp_time |
Float |
Exposure time in seconds. |
Examples
>>> import gen_tso.pandeia_io as jwst
>>> inst = 'nircam'
>>> subarray = 'subgrism64'
>>> readout = 'rapid'
>>> nint = 1
>>> ngroup = 90
>>> exp_time = jwst.exposure_time(inst, subarray, readout, ngroup, nint)
>>> print(exp_time)
Back to top