makeImageFromCcd

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

Make an Image of a CCD.

Parameters:
ccdlsst.afw.cameraGeom.Detector

Detector to use in making the image.

isTrimmedbool

Assemble a trimmed Detector image.

showAmpGainbool

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

imageFactorycallable like lsst.afw.image.Image

Image type to generate.

rcMarkSizefloat

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

binSizeint

Bin the image by this factor in both dimensions.

Returns:
imagelsst.afw.image.Image

Image of the Detector (type returned by imageFactory).