STIS ImageObjects

stisData module provides classes used to import STIS specific instrument data.

Authors:Megan Sosey, Christopher Hanley, Mihai Cara
License:LICENSE
class drizzlepac.stisData.STISInputImage(filename=None, group=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.

getflat(chip)[source]

Method for retrieving a detector’s flat field. For STIS there are three. This method will return an array the same shape as the image.

class drizzlepac.stisData.CCDInputImage(filename=None, group=None)[source]

Bases: drizzlepac.stisData.STISInputImage

getReadNoise()[source]

Method for returning the readnoise of a detector (in DN).

Units:DN

This should work on a chip, since different chips to be consistant with other detector classes where different chips have different gains.

getdarkcurrent()[source]

Returns the dark current for the STIS CCD chip.

Returns:
darkcurrent : float

Dark current value in units of electrons (or counts, if proc_unit==’native’).

setInstrumentParameters(instrpars)[source]

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

class drizzlepac.stisData.NUVInputImage(filename, group=None)[source]

Bases: drizzlepac.stisData.STISInputImage

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]

Returns the dark current for the STIS NUV detector.

Returns:
darkcurrent : float

Dark current value in units of electrons (or counts, if proc_unit==’native’).

setInstrumentParameters(instrpars)[source]

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

class drizzlepac.stisData.FUVInputImage(filename=None, group=None)[source]

Bases: drizzlepac.stisData.STISInputImage

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]

Returns the dark current for the STIS FUV detector.

Returns:
darkcurrent : float

Dark current value in units of electrons (or counts, if proc_unit==’native’).

setInstrumentParameters(instrpars)[source]

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