desc.integrals.Bounce2D.plot
- Bounce2D.plot(l, m, pitch_inv=None, **kwargs)Source
Plot B and bounce points on the specified field line.
- Parameters:
l (int) – Index into the nodes of the grid supplied to make this object. The rho value corresponds to
rho=grid.compress(grid.nodes[:,0])[l].m (int) – Index into the
alphaarray supplied to make this object. The alpha value corresponds toalpha[m].pitch_inv (jnp.ndarray) – Shape (num pitch, ). Optional, 1/λ values whose corresponding bounce points on the field line specified by Clebsch coordinate ρ(l), α(m) will be plotted.
kwargs – Keyword arguments into
desc/integrals/_bounce_utils.py::PiecewiseChebyshevSeries.plot1d.
- Returns:
fig, ax – Matplotlib (fig, ax) tuple.