NICMOS ImageObjects¶
Class used to model NICMOS specific instrument data.
Authors: | Christopher Hanley, David Grumm, Megan Sosey |
---|---|
License: | LICENSE |
-
class
drizzlepac.nicmosData.
NICMOSInputImage
(filename=None)[source]¶ Bases:
drizzlepac.imageObject.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: - darkcurrent : float
Dark current value with units of cps.
-
getdarkimg
(chip)[source]¶ Return an array representing the dark image for the detector.
Returns: - dark : array
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.
NIC2InputImage
(filename=None)[source]¶