desc.vmec.VMECIO.plot_vmec_comparison
- classmethod VMECIO.plot_vmec_comparison(equil, vmec_data, Nr=10, Nt=8, **kwargs)Source
Plot a comparison to VMEC flux surfaces.
- Parameters:
equil (Equilibrium) – desc equilibrium to compare
vmec_data (str or path-like or dict) – path to VMEC output file, or dictionary of vmec outputs
Nr (int, optional) – number of rho contours to plot
Nt (int, optional) – number of vartheta contours to plot
- Returns:
fig (matplotlib.figure.Figure) – figure being plotted to
ax (matplotlib.axes.Axes or ndarray of Axes) – axes being plotted to