atompy.add_polar_guideline#
- atompy.add_polar_guideline(ax=None, datapoints=None, fit_degree=6, odd_terms=True, fit_steps=200, **plot_kwargs)[source]#
Add a visual guideline to polar plots based on Ylm fits.
- Parameters:
- ax
matplotlib.axes.Axes, optional If
None, use currently active axes.- datapoints
tuple[ndarray,ndarray], optional Tuple of x and y data. If not provided, use first data that is found as part of
ax.- fit_degree
int, default 6 Degree of the underlying Legendre fit
- odd_termsbool, default
True Control whether to include odd terms in the Legendre fit or not.
- fit_steps
int, default 200, Number of steps of the guideline.
- **plot_kwargs
Dictionary of keyword arguments used in
matplotlib.pyplot.plot()for plotting the guideline.
- ax
- Returns:
See also