WFPC2 ImageObjects¶
wfpc2Data
module provides classes used to import WFPC2 specific instrument data.
Authors: | Warren Hack, Ivo Busko, Christopher Hanley |
---|---|
License: | LICENSE |
-
class
drizzlepac.wfpc2Data.
WFPC2InputImage
(filename, group=None)[source]¶ Bases:
drizzlepac.imageObject.imageObject
-
SEPARATOR
= '_'¶
-
buildMask
(chip, bits=0, write=False)[source]¶ Build masks as specified in the user parameters found in the configObj object.
-
doUnitConversions
()[source]¶ Apply unit conversions to all the chips, ignoring the group parameter. This insures that all the chips get the same conversions when this gets done, even if only 1 chip was specified to be processed.
-
find_DQ_extension
()[source]¶ Return the suffix for the data quality extension and the name of the file which that DQ extension should be read from.
-
getEffGain
()[source]¶ Method used to return the effective gain of a instrument’s detector.
Returns: - gain : float
The effective gain.
-
getReadNoise
(exten)[source]¶ Method for returning the readnoise of a detector (in counts).
Returns: - readnoise : float
The readnoise of the detector in units of counts/electrons.
-
getdarkcurrent
(exten)[source]¶ Return the dark current for the WFPC2 detector. This value will be contained within an instrument specific keyword. The value in the image header will be converted to units of electrons.
Returns: - darkcurrent : float
Dark current for the WFPC3 detector in units of counts/electrons.
-