pynrc.detops.create_detops¶
- pynrc.detops.create_detops(header, DMS=False, read_mode=None, nint=None, ngroup=None, detector=None, wind_mode=None, xpix=None, ypix=None, x0=None, y0=None, nff=None)[source]¶
NIRCam Detector class from header
Create a NIRCam detector class based on header settings. Can override settings with a variety of keyword arguments.
- Parameters
header (obj) – Header from NIRCam FITS file
DMS (bool) – Is header format from Data Management Systems? Otherwises, ISIM-like.
- Keyword Arguments
read_mode (str) – NIRCam Ramp Readout mode such as ‘RAPID’, ‘BRIGHT1’, etc.
nint (int) – Number of integrations (ramps).
ngroup (int) – Number of groups in a integration.
detector (int, str) – NIRCam detector ID (481-490) or SCA ID (A1-B5).
wind_mode (str) – Window mode type ‘FULL’, ‘STRIPE’, ‘WINDOW’.
xpix (int) – Size of window in x-pixels for frame time calculation.
ypix (int) – Size of window in y-pixels for frame time calculation.
x0 (int) – Lower-left x-coord position of detector window.
y0 (int) – Lower-left y-coord position of detector window.
nff (int) – Number of fast row resets.