makeImageFromCcd

lsst.afw.cameraGeom.utils.makeImageFromCcd(ccd, isTrimmed=True, showAmpGain=True, imageFactory=<class 'lsst.afw.image.image.image.ImageU'>, rcMarkSize=10, binSize=1)

Make an Image of a CCD.

Parameters:
ccd : lsst.afw.cameraGeom.Detector

Detector to use in making the image.

isTrimmed : bool

Assemble a trimmed Detector image.

showAmpGain : bool

Use the per-amp gain to color the pixels in the image?

imageFactory : callable like lsst.afw.image.Image

Image type to generate.

rcMarkSize : float

Size of the mark to make in the amp images at the read corner.

binSize : int

Bin the image by this factor in both dimensions.

Returns:
image : lsst.afw.image.Image

Image of the Detector (type returned by imageFactory).