|
lsst.ip.isr gbffcd5fa91+39a08c657f
|
Public Member Functions | |
| __init__ (self, **kwargs) | |
| assembleCcd (self, assembleInput) | |
| postprocessExposure (self, outExposure, inExposure) | |
Public Attributes | |
| tuple | allKeysToRemove = ('DATASEC', 'BIASSEC', 'TRIMSEC', 'GAIN') + tuple(self.config.keysToRemove) |
Static Public Attributes | |
| ConfigClass = AssembleCcdConfig | |
Static Protected Attributes | |
| str | _DefaultName = "assembleCcd" |
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.
| lsst.ip.isr.assembleCcdTask.AssembleCcdTask.__init__ | ( | self, | |
| ** | kwargs ) |
Definition at line 57 of file assembleCcdTask.py.
| 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.
| 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.
|
staticprotected |
Definition at line 55 of file assembleCcdTask.py.
| tuple lsst.ip.isr.assembleCcdTask.AssembleCcdTask.allKeysToRemove = ('DATASEC', 'BIASSEC', 'TRIMSEC', 'GAIN') + tuple(self.config.keysToRemove) |
Definition at line 60 of file assembleCcdTask.py.
|
static |
Definition at line 54 of file assembleCcdTask.py.