plotPupilMaskElements#
- lsst.ts.wep.utils.plotPupilMaskElements(maskParams, fieldAngle, legend=True, minimal=True, ax=None)#
Plot the mask elements as circles.
Outer and inner elements have the same color, with the inner elements dashed. The pupil is highlighted in yellow.
- Parameters:
maskParams (dict) – The mask parameter dictionary. This can come from Instrument.maskParams or from the output of fitMaskModel.
fieldAngle (tuple) – Tuple of x and y field angles in degrees.
legend (bool, optional) – Whether to draw the legend. (the default is True)
minimal (bool, optional) – Whether to only draw the arcs that determine the pupil edge. (the default is True)
ax (plt.Axes, optional) – A matplotlib axis to plot on. If None passed, plt.gca() is used. (the default is None)
- Return type: