plotRoundTrip#

lsst.ts.wep.utils.plotRoundTrip(fieldAngle, defocalType, band=BandLabel.REF, opticalModel='offAxis', zk=array([0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.]), nPixels=180)#

Plot a roundtrip of the ImageMapper

Parameters:
  • fieldAngle (tuple) – Tuple of x and y field angles in degrees.

  • defocalType (Union[DefocalType, str]) – The DefocalType (or corresponding string)

  • band (Union[BandLabel, str], optional) – The BandLabel (or corresponding string) (the default is BandLabel.REF)

  • opticalModel (str, optional) – A string specifying the optical model (the default is “offAxis”)

  • zk (np.ndarray, optional) – Array of Zernike coefficients for wavefront aberrations (in meters) (the default is an array of zeros)

  • nPixels (int, optional) – The number of pixels on a side for the images. (the default is 180)

Return type:

tuple[Figure, list[Axes]]

Returns:

  • fig – The matplotlib Figure

  • axes – The matplotlib Axes