desc.integrals.Bounce1D.plot
- Bounce1D.plot(l, m, pitch_inv=None, **kwargs)Source
Plot B and bounce points on the specified field line.
- Parameters:
l (int) – Indices into the nodes of the grid supplied to make this object.
rho,alpha=Bounce1D.reshape(grid,grid.nodes[:,:2])[l,m,0].m (int) – Indices into the nodes of the grid supplied to make this object.
rho,alpha=Bounce1D.reshape(grid,grid.nodes[:,:2])[l,m,0].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::plot_ppoly.
- Returns:
fig, ax – Matplotlib (fig, ax) tuple.