NICMOS ImageObjects
Class used to model NICMOS specific instrument data.
- Authors:
Christopher Hanley, David Grumm, Megan Sosey
- License:
- class drizzlepac.nicmosData.NICMOSInputImage(filename=None, output=None)[source]
Bases:
imageObject
- SEPARATOR = '_'
- doUnitConversions()[source]
Convert the data to electrons
This converts all science data extensions and saves the results back to disk. We need to make sure the data inside the chips already in memory is altered as well.
- getdarkcurrent()[source]
Return the dark current for the NICMOS detectors.
- Returns:
- darkcurrentfloat
Dark current value with units of cps.
- getdarkimg(chip)[source]
Return an array representing the dark image for the detector.
- Returns:
- darkarray
The dark array in the same shape as the image with units of cps.
- getexptimeimg(chip)[source]
Return an array representing the exposure time per pixel for the detector.
- Returns:
- dark: array
Exposure time array in the same shape as the input image
- class drizzlepac.nicmosData.NIC1InputImage(filename=None, output=None)[source]
Bases:
NICMOSInputImage
- class drizzlepac.nicmosData.NIC2InputImage(filename=None, output=None)[source]
Bases:
NICMOSInputImage
- class drizzlepac.nicmosData.NIC3InputImage(filename=None, output=None)[source]
Bases:
NICMOSInputImage
- class drizzlepac.nicmosData.darkobject[source]
darkobject: This class takes as input a pyfits hdulist object. The linear dark and amp glow noise componenets are then extracted from the hdulist.
- getampglow()[source]
getampglow: darkobject method which us used to return the amp glow component from a NICMOS temperature dependent dark file.
- getampglowheader()[source]
getampglowheader: darkobject method used to return the header information of the amp glow entension of a TDD file.