assembleAmplifierImage¶
- lsst.afw.cameraGeom.assembleAmplifierImage(destImage, rawImage, amplifier)¶
Assemble the amplifier region of an image from a raw image.
- Parameters:
- destImage
lsst.afw.image.Image
orlsst.afw.image.MaskedImage
Assembled image; the region amplifier.getBBox() is overwritten with the assembled amplifier image.
- rawImage
lsst.afw.image.Image
orlsst.afw.image.MaskedImage
Raw image (same type as destImage).
- amplifier
lsst.afw.cameraGeom.Amplifier
Amplifier geometry, with raw amplifier info.
- destImage
- Raises:
- RuntimeError
Raised if image types do not match or amplifier has no raw amplifier info.