plotFocalPlane

lsst.afw.cameraGeom.utils.plotFocalPlane(camera, fieldSizeDeg_x=0, fieldSizeDeg_y=None, dx=0.1, dy=0.1, figsize=(10.0, 10.0), useIds=False, showFig=True, savePath=None)

Make a plot of the focal plane along with a set points that sample the field of view.

Parameters:
camera : lsst.afw.cameraGeom.Camera

A camera object

fieldSizeDeg_x : float

Amount of the field to sample in x in degrees

fieldSizeDeg_y : float or None

Amount of the field to sample in y in degrees

dx : float

Spacing of sample points in x in degrees

dy : float

Spacing of sample points in y in degrees

figsize : tuple containing two float

Matplotlib style tuple indicating the size of the figure in inches

useIds : bool

Label detectors by name, not id?

showFig : bool

Display the figure on the screen?

savePath : str or None

If not None, save a copy of the figure to this name.