lsst.ip.isr gdc0c513512+8dc8b78d92
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Static Protected Attributes | List of all members
lsst.ip.isr.assembleCcdTask.AssembleCcdTask Class Reference
Inheritance diagram for lsst.ip.isr.assembleCcdTask.AssembleCcdTask:

Public Member Functions

 __init__ (self, **kwargs)
 
 assembleCcd (self, assembleInput)
 
 postprocessExposure (self, outExposure, inExposure)
 

Public Attributes

 allKeysToRemove
 

Static Public Attributes

 ConfigClass = AssembleCcdConfig
 

Static Protected Attributes

str _DefaultName = "assembleCcd"
 

Detailed Description

Assemble a set of amplifier images into a full detector size set of
pixels.

The keys for removal specified in
`lsst.ip.isr.AssembleCcdConfig.keysToRemove` are added to a default set:
('DATASEC', 'BIASSEC', 'TRIMSEC', 'GAIN').

Definition at line 46 of file assembleCcdTask.py.

Constructor & Destructor Documentation

◆ __init__()

lsst.ip.isr.assembleCcdTask.AssembleCcdTask.__init__ ( self,
** kwargs )

Definition at line 57 of file assembleCcdTask.py.

Member Function Documentation

◆ assembleCcd()

lsst.ip.isr.assembleCcdTask.AssembleCcdTask.assembleCcd ( self,
assembleInput )
Assemble a set of amps into a single CCD size image.

Parameters
----------
assembleInput : `dict` [`str`, `lsst.afw.image.Exposure`] or \
                `lsst.afw.image.Exposure`
    Either a dictionary of amp exposures, or a single exposure
    containing all raw amps. If a dictionary of amp exposures, the key
    should be the amp name.

Returns
-------
assembledCcd : `lsst.afw.image.Exposure`
    An exposure of the assembled amp sections.

Raises
------
TypeError
    Raised if the input exposures to be assembled do not adhere to the
    required format.
RuntimeError
    Raised if the detector set on the input exposure is not set.

Definition at line 62 of file assembleCcdTask.py.

◆ postprocessExposure()

lsst.ip.isr.assembleCcdTask.AssembleCcdTask.postprocessExposure ( self,
outExposure,
inExposure )
Set exposure non-image attributes, including wcs and metadata and
display exposure (if requested).

Call after assembling the pixels.

Parameters
----------
outExposure : `lsst.afw.image.Exposure`
    The exposure to modify by copying metadata (after removing unwanted
    keywords), wcs, filter, and detector from ``inExposure``.
inExposure : `lsst.afw.image.Exposure`
    The input exposure providing metadata, wcs, filter, and detector.

Definition at line 137 of file assembleCcdTask.py.

Member Data Documentation

◆ _DefaultName

str lsst.ip.isr.assembleCcdTask.AssembleCcdTask._DefaultName = "assembleCcd"
staticprotected

Definition at line 55 of file assembleCcdTask.py.

◆ allKeysToRemove

lsst.ip.isr.assembleCcdTask.AssembleCcdTask.allKeysToRemove

Definition at line 60 of file assembleCcdTask.py.

◆ ConfigClass

lsst.ip.isr.assembleCcdTask.AssembleCcdTask.ConfigClass = AssembleCcdConfig
static

Definition at line 54 of file assembleCcdTask.py.


The documentation for this class was generated from the following file: