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:
cameralsst.afw.cameraGeom.Camera

Camera object to use to make the image.

detectorNameListlist [str]

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

backgroundfloat

Value to use where there is no Detector.

bufferSizeint

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

imageSourceFakeImageDataSource or None

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

imageFactorycallable like lsst.afw.image.Image

Type of image to build.

binSizeint

Bin the image by this factor in both dimensions.

Returns:
imagelsst.afw.image.Image

Image of the entire camera.