plotRoundTrip

lsst.ts.wep.utils.plotRoundTrip(fieldAngle: tuple, defocalType: Union[DefocalType, str], band: Union[BandLabel, str] = BandLabel.REF, opticalModel: str = 'offAxis', zk: ndarray = array([0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.]), nPixels: int = 180)

Plot a roundtrip of the ImageMapper

Parameters:
fieldAngletuple

Tuple of x and y field angles in degrees.

defocalTypeUnion[DefocalType, str]

The DefocalType (or corresponding string)

bandUnion[BandLabel, str], optional

The BandLabel (or corresponding string) (the default is BandLabel.REF)

opticalModelstr, optional

A string specifying the optical model (the default is “offAxis”)

zknp.ndarray, optional

Array of Zernike coefficients for wavefront aberrations (in meters) (the default is an array of zeros)

nPixelsint, optional

The number of pixels on a side for the images. (the default is 180)

Returns:
fig

The matplotlib Figure

axes

The matplotlib Axes