plotTieConvergence¶
- lsst.ts.wep.utils.plotTieConvergence(history: dict, ax: Optional[Axes] = None) Axes ¶
Plot the convergence of Zernike coefficients stored in the history.
The two metrics on this plot are labeled “Max” and “RMS”. These are the max change in any Zernike coefficient and the RMS change of all Zernike coefficients between each subsequent iteration of the TIE. There is also a number printed above the metrics for each iteration corresponding to the Noll index of the Zernike coefficient that changed the most.
Parameters¶
- historydict
The algorithm history dictionary corresponding to a single Zernike estimate (i.e. from a single call to the TIE solver). Note that if you’re loading the history from the butler metadata, you can use lsst.ts.wep.utils.taskUtils.convertMetadataToHistory to convert the butler format to the format expected by this function.
- axplt.Axes
The matplotlib axis on which to plot the data
Returns¶
- plt.Axes
The matplotlib axis on which the data is plotted