skrf.vectorFitting.VectorFitting.plot_convergence
- VectorFitting.plot_convergence(ax=None)[source]
Plots the history of the model residue parameter d_res during the iterative pole relocation process of the vector fitting, which should eventually converge to a fixed value. Additionally, the relative change of the maximum singular value of the coefficient matrix A are plotted, which serve as a convergence indicator.
- Parameters:
ax (
matplotlib.Axes
object or None) – matplotlib axes to draw on. If None, the current axes is fetched withgca()
.- Returns:
matplotlib axes used for drawing. Either the passed
ax
argument or the one fetch from the current figure.- Return type:
matplotlib.Axes