plot_linKK_residuals¶
- autoeis.visualization.plot_linKK_residuals(freq: ndarray[float], res_real: ndarray[float], res_imag: ndarray[float], ax: Axes | None = None) tuple[Figure, Axes] ¶
Plots the residuals of the linear Kramers-Kronig validation.
- Parameters:
freq (np.ndarray[float]) – Frequencies corresponding to the residuals.
res_real (np.ndarray[float]) – Real part of the residuals.
res_imag (np.ndarray[float]) – Imaginary part of the residuals.
ax (plt.Axes, optional) – Axes to plot on. Default is None.
- Returns:
Figure and axes of the plot.
- Return type:
tuple[plt.Figure, plt.Axes]