gcmotion.plot.parabolas_diagram#

gcmotion.plot.parabolas_diagram(profile: Profile, **kwargs)#

This script draw the parabolas diagram along with the trapped passing boundary (if asked) by plotting the values calculated in calc_parabolas_tpb().

Parameters:
profileProfile

Profile object that contains Tokamak information like bfield, mu, useful psi values.

Other Parameters:
Pzetalimtuple,list, optional

The Pzeta limits within which the RW, LW, MA parabolas’ values are to be calculated. CAUTION: the limits must be normalized to psip_wallNU. Defaults to (-1.5,1).

Pzeta_densityint, optional

The density of Pzeta points that will be used to calculate the RW, LW, MA parabolas’ values. Defaults to 1000.

enlimtuple, list, optional

The Pzeta limits within which the RW, LW, MA parabolas’ values are to be calculated. CAUTION: the limits must be normalized to E/\(\mu B_0\). Defaults to (0,3).

TPBbool, optional

Boolean that determines weather the trapped-passing boundary is to be plotted. Defaults to False.

Notes

For a full list of all available optional parameters, see the dataclass ParabolasPlotConfig at gcmotion/config/plot_parameters. The defaults values are set there, and are overwritten if passed as arguements.