lsst.ip.isr gec061abbff+76058f227a
|
Public Member Functions | |
def | __init__ (self, **kwargs) |
Initialize the AssembleCcdTask. More... | |
def | assembleCcd (self, assembleInput) |
Assemble a set of amps into a single CCD size image. More... | |
def | postprocessExposure (self, outExposure, inExposure) |
Public Attributes | |
allKeysToRemove | |
Static Public Attributes | |
ConfigClass = AssembleCcdConfig | |
Assemble a set of amplifier images into a full detector size set of pixels.
This task assembles sections of an image into a larger mosaic. The sub-sections are typically amplifier sections and are to be assembled into a detector size pixel grid. The assembly is driven by the entries in the raw amp information. The task can be configured to return a detector image with non-data (e.g. overscan) pixels included. The task can also renormalize the pixel values to a nominal gain of 1. The task also removes exposure metadata that has context in raw amps, but not in trimmed detectors (e.g. 'BIASSEC').
Assemble a set of amps into a single CCD size image.
[in] | assembleInput | – Either a dictionary of amp lsst.afw.image.Exposures or a single lsst.afw.image.Exposure containing all raw amps. If a dictionary of amp exposures, the key should be the amp name. |
TypeError | with the following string: |
RuntimeError | with the following string: |
The command line task interface supports a flag -d
to import debug.py from your PYTHONPATH
; see Debugging Tasks with lsstDebug for more about debug.py files.
The available variables in AssembleCcdTask are:
display
To investigate the Debug variables, put something like
into your debug.py file and run runAssembleTask.py with the --debug
flag.
Conversion notes: Display code should be updated once we settle on a standard way of controlling what is displayed.
Definition at line 53 of file assembleCcdTask.py.
def lsst.ip.isr.assembleCcdTask.AssembleCcdTask.__init__ | ( | self, | |
** | kwargs | ||
) |
Initialize the AssembleCcdTask.
The keys for removal specified in the config are added to a default set: ('DATASEC', 'BIASSEC', 'TRIMSEC', 'GAIN')
Definition at line 138 of file assembleCcdTask.py.
def lsst.ip.isr.assembleCcdTask.AssembleCcdTask.assembleCcd | ( | self, | |
assembleInput | |||
) |
Assemble a set of amps into a single CCD size image.
[in] | assembleInput | – Either a dictionary of amp lsst.afw.image.Exposures or a single lsst.afw.image.Exposure containing all raw amps. If a dictionary of amp exposures, the key should be the amp name. |
TypeError | with the following string: |
RuntimeError | with the following string: |
Definition at line 148 of file assembleCcdTask.py.
def 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 @param[in,out] outExposure assembled exposure: - removes unwanted keywords - sets wcs, filter, and detector @param[in] inExposure input exposure
Definition at line 225 of file assembleCcdTask.py.
lsst.ip.isr.assembleCcdTask.AssembleCcdTask.allKeysToRemove |
Definition at line 146 of file assembleCcdTask.py.
|
static |
Definition at line 135 of file assembleCcdTask.py.