thunderboltz.ThunderBoltz.plot_cs

ThunderBoltz.plot_cs(ax=None, legend=True, vsig=False, thresholds=False, save=None, **plot_args)[source]

Plot the cross sections models.

Parameters:
  • ax (Axes or None) – Optional axes object to plot on top of, default is None. If ax is None, then a new figure and ax object will be created.

  • legend (bool) – Activate axes legend if true, default is True.

  • vsig (bool) – Plot \(\sqrt{\frac{2\epsilon}{m_{\rm e}}}\sigma(\epsilon)\) rather than \(\sigma(\epsilon)\).

  • thresholds (bool) – if True, plot energy units in thresholds.

  • save (str) – Optional location of the directory to save the plot in.

  • **plot_args – Optional arguments passed to Axes.plot().

Returns:

The axes object of the plot.

Return type:

matplotlib.axes.Axes