freegs.jtor.ProfilesPprimeFfprime#
- class freegs.jtor.ProfilesPprimeFfprime(pprime_func, ffprime_func, fvac, p_func=None, f_func=None)[source]#
Bases:
ProfileSpecified profile functions p’(psi), ff’(psi)
Jtor = R*p’ + ff’/(R*mu0)
- __init__(pprime_func, ffprime_func, fvac, p_func=None, f_func=None)[source]#
pprime_func(psi_norm) - A function which returns dp/dpsi at given normalised flux ffprime_func(psi_norm) - A function which returns f*df/dpsi at given normalised flux (f = R*Bt)
fvac - Vacuum f = R*Bt
Optionally, the pres
Methods
Jtor(R, Z, psi[, psi_bndry])Calculate toroidal plasma current
__init__(pprime_func, ffprime_func, fvac[, ...])pprime_func(psi_norm) - A function which returns dp/dpsi at given normalised flux ffprime_func(psi_norm) - A function which returns f*df/dpsi at given normalised flux (f = R*Bt)
ffprime(psinorm)Return ff' at the given normalised psi
fpol(psinorm[, out])Return f=R*Bt at given value(s) of normalised psi.
fvac()Return f = R*Bt in vacuum
pprime(psinorm)Return p' at the given normalised psi
pressure(psinorm[, out])Return pressure [Pa] at given value(s) of normalised psi.