AssembleCcdTask

AssembleCcdTask 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’).

Processing summary

AssembleCcdTask does not have a run method. Instead, its main methods are assembleCcd and postprocessExposure.

Python API summary

from lsst.ip.isr.assembleCcdTask import AssembleCcdTask
classAssembleCcdTask(**kwargs)

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

attributeconfig

Access configuration fields and retargetable subtasks.

See also

See the AssembleCcdTask API reference for complete details.

Retargetable subtasks

No subtasks.

Configuration fields

doTrim

Default
True
Field type

bool Field

trim out non-data regions?

keysToRemove

Default
()
Field type

str ListField

FITS headers to remove (in addition to DATASEC, BIASSEC, TRIMSEC and perhaps GAIN)

Debugging

The available debug variables in AssembleCcdTask are:

display

A dictionary containing debug point names as keys with frame number as value. Valid keys are:

assembledExposure

display assembled exposure