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

A camera object

fieldSizeDeg_xfloat

Amount of the field to sample in x in degrees

fieldSizeDeg_yfloat or None

Amount of the field to sample in y in degrees

dxfloat

Spacing of sample points in x in degrees

dyfloat

Spacing of sample points in y in degrees

figsizetuple containing two float

Matplotlib style tuple indicating the size of the figure in inches

useIdsbool

Label detectors by name, not id?

showFigbool

Display the figure on the screen?

savePathstr or None

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