WFC3 ImageObjects

wfc3Data module provides classes used to import WFC3 specific instrument data.

Authors:Megan Sosey, Christopher Hanley
License:LICENSE
class drizzlepac.wfc3Data.WFC3InputImage(filename=None, group=None)[source]

Bases: drizzlepac.imageObject.imageObject

SEPARATOR = '_'
class drizzlepac.wfc3Data.WFC3UVISInputImage(filename=None, group=None)[source]

Bases: drizzlepac.wfc3Data.WFC3InputImage

doUnitConversions()[source]
getdarkcurrent(chip)[source]

Return the dark current for the WFC3 UVIS detector. This value will be contained within an instrument specific keyword.

Returns:
darkcurrent: float

The dark current value with units of electrons.

setInstrumentParameters(instrpars)[source]

This method overrides the superclass to set default values into the parameter dictionary, in case empty entries are provided.

class drizzlepac.wfc3Data.WFC3IRInputImage(filename=None, group=None)[source]

Bases: drizzlepac.wfc3Data.WFC3InputImage

doUnitConversions()[source]

WF3 IR data come out in electrons, and I imagine the photometry keywords will be calculated as such, so no image manipulation needs be done between native and electrons

getdarkcurrent()[source]

Return the dark current for the WFC3/IR detector. This value will be contained within an instrument specific keyword.

Returns:
darkcurrent: float

The dark current value in units of electrons.

getdarkimg(chip)[source]

Return an array representing the dark image for the detector.

Returns:
dark: array

Dark image array in the same shape as the input 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

getskyimg(chip)[source]

Notes

Return an array representing the sky image for the detector. The value of the sky is what would actually be subtracted from the exposure by the skysub step.

Units:electrons
setInstrumentParameters(instrpars)[source]

This method overrides the superclass to set default values into the parameter dictionary, in case empty entries are provided.