assembleAmplifierRawImage¶
-
lsst.afw.cameraGeom.
assembleAmplifierRawImage
(destImage, rawImage, amplifier)¶ Assemble the amplifier region of a raw CCD image.
For most cameras this is a no-op: the raw image already is an assembled CCD image. However, it is useful for camera such as LSST for which each amplifier image is a separate image.
Parameters: - destImage :
lsst.afw.image.Image
orlsst.afw.image.MaskedImage
CCD Image; the region amplifier.getRawAmplifier().getBBox() is overwritten with the raw amplifier image.
- rawImage :
lsst.afw.image.Image
orlsst.afw.image.MaskedImage
Raw image (same type as destImage).
- amplifier :
lsst.afw.table.AmpInfoRecord
Amplifier geometry with raw amplifier info
Raises: - RuntimeError
Raised if image types do not match or amplifier has no raw amplifier info.
- destImage :