showCamera

lsst.afw.cameraGeom.utils.showCamera(camera, imageSource=<lsst.afw.cameraGeom.utils.FakeImageDataSource object>, imageFactory=<class 'lsst.afw.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:
cameralsst.afw.cameraGeom.Camera

Camera object to use to make the image.

imageSourceFakeImageDataSource or None

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

imageFactorylsst.afw.image.Image

Type of image to make

detectorNameListlist [str] or None

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

binSizeint

Bin the image by this factor in both dimensions.

bufferSizeint

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

overlaybool

Overlay Detector IDs and boundaries?

titlestr

Title to use in display.

showWcsbool

Include a WCS in the display?

ctypelsst.afw.display.COLOR or str

Color to use when drawing Detector boundaries.

textSizefloat

Size of detector labels

originAtCenterbool

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

displaylsst.afw.display

Image display on which to display.

**kwargs

All remaining keyword arguments are passed to makeImageFromCamera

Returns:
imagelsst.afw.image.Image

The mosaic image.