showCamera

lsst.afw.cameraGeom.utils.showCamera(camera, imageSource=<lsst.afw.cameraGeom.utils.FakeImageDataSource object>, imageFactory=<class 'lsst.afw.image.image.image.ImageF'>, detectorNameList=None, binSize=10, bufferSize=10, overlay=True, title='', showWcs=None, ctype='green', textSize=1.25, originAtCenter=True, display=None, **kwargs)

Show a Camera on display, with the specified display.

The rotation of the sensors is snapped to the nearest multiple of 90 deg. Also note that the pixel size is constant over the image array. The lower left corner (LLC) of each sensor amp is snapped to the LLC of the pixel containing the LLC of the image.

Parameters:
camera : lsst.afw.cameraGeom.Camera

Camera object to use to make the image.

imageSource : FakeImageDataSource or None

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

imageFactory : lsst.afw.image.Image

Type of image to make

detectorNameList : list [str] or None

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

binSize : int

Bin the image by this factor in both dimensions.

bufferSize : int

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

overlay : bool

Overlay Detector IDs and boundaries?

title : str

Title to use in display.

showWcs : bool

Include a WCS in the display?

ctype : lsst.afw.display.COLOR or str

Color to use when drawing Detector boundaries.

textSize : float

Size of detector labels

originAtCenter : bool

Put origin of the camera WCS at the center of the image? If False, the origin will be at the lower left.

display : lsst.afw.display

Image display on which to display.

**kwargs :

All remaining keyword arguments are passed to makeImageFromCamera

Returns:
image : lsst.afw.image.Image

The mosaic image.