makeImageFromCamera

lsst.afw.cameraGeom.utils.makeImageFromCamera(camera, detectorNameList=None, background=nan, bufferSize=10, imageSource=<lsst.afw.cameraGeom.utils.FakeImageDataSource object>, imageFactory=<class 'lsst.afw.image.image.ImageU'>, binSize=1)

Make an Image of a Camera.

Put each detector’s image in the correct location and orientation on the focal plane. The input images can be binned to an integer fraction of their original bboxes.

Parameters:
camera : lsst.afw.cameraGeom.Camera

Camera object to use to make the image.

detectorNameList : list [str]

List of detector names from camera to use in building the image. Use all Detectors if None.

background : float

Value to use where there is no Detector.

bufferSize : int

Size of border in binned pixels to make around the camera image.

imageSource : FakeImageDataSource or None

Source to get ccd images. Must have a getCcdImage() method.

imageFactory : callable like lsst.afw.image.Image

Type of image to build.

binSize : int

Bin the image by this factor in both dimensions.

Returns:
image : lsst.afw.image.Image

Image of the entire camera.