wfpc2Data module provides classes used to import WFPC2 specific instrument data.
Authors: | |
---|---|
Warren Hack, Ivo Busko, Christopher Hanley | |
License: | |
http://www.stsci.edu/resources/software_hardware/pyraf/LICENSE |
Bases: drizzlepac.imageObject.imageObject
Build masks as specified in the user parameters found in the configObj object.
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.
Return the suffix for the data quality extension and the name of the file which that DQ extension should be read from.
Method used to return the effective gain of a instrument’s detector.
Returns: | |
---|---|
gain : float
|
Method for returning the readnoise of a detector (in counts).
Returns: | |
---|---|
readnoise : float
|
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
|
Method for retrieving a detector’s flat field.
Returns: | |
---|---|
flat : array
|
This method overrides the superclass to set default values into the parameter dictionary, in case empty entries are provided.