LarBfield
dexter.LarBfield()
¶
Analytical Large Aspect Ratio magnetic field with \(B(\psi, \theta) = 1 - \sqrt{2\psi}\cos(\theta)\).
Methods:
-
b_of_psi–The \(B(\psi, \theta)\) value in Normalized Units.
-
b_of_psip–The \(B(\psi_p, \theta)\) value in Normalized Units.
-
db_dpsi–The \(dB(\psi, \theta)/d\psi\) value in Normalized Units.
-
db_dpsip–The \(dB(\psi_p, \theta)/d\psi_p\) value in Normalized Units.
-
db_of_psi_dtheta–The \(dB(\psi, \theta)/d\theta\) value in Normalized Units.
-
db_of_psip_dtheta–The \(dB(\psi_p, \theta)/d\theta\) value in Normalized Units.
Attributes:
-
psi_state(FluxState) –The state of the toroidal flux coordinate.
-
psip_state(FluxState) –The state of the poloidal flux coordinate.
-
equilibrium_type(EquilibriumType) –The object's equilibrium's type.
dexter.LarBfield.psi_state: FluxState
property
¶
The state of the toroidal flux coordinate.
dexter.LarBfield.psip_state: FluxState
property
¶
The state of the poloidal flux coordinate.
dexter.LarBfield.equilibrium_type: EquilibriumType
property
¶
The object's equilibrium's type.
dexter.LarBfield.b_of_psi(psi: ArrayLike, theta: ArrayLike) -> NDArray
¶
The \(B(\psi, \theta)\) value in Normalized Units.
Parameters:
-
psi(ArrayLike) –The toroidal flux \(\psi\) in Normalized Units.
-
theta(ArrayLike) –The \(\theta\) angle in \([rads]\).
dexter.LarBfield.b_of_psip(psip: ArrayLike, theta: ArrayLike) -> NDArray
¶
The \(B(\psi_p, \theta)\) value in Normalized Units.
Parameters:
-
psip(ArrayLike) –The poloidal flux \(\psi_p\) in Normalized Units.
-
theta(ArrayLike) –The \(\theta\) angle in \([rads]\).
dexter.LarBfield.db_dpsi(psi: ArrayLike, theta: ArrayLike) -> NDArray
¶
The \(dB(\psi, \theta)/d\psi\) value in Normalized Units.
Parameters:
-
psi(ArrayLike) –The toroidal flux \(\psi\) in Normalized Units.
-
theta(ArrayLike) –The \(\theta\) angle in \([rads]\).
dexter.LarBfield.db_dpsip(psip: ArrayLike, theta: ArrayLike) -> NDArray
¶
The \(dB(\psi_p, \theta)/d\psi_p\) value in Normalized Units.
Parameters:
-
psip(ArrayLike) –The poloidal flux \(\psi_p\) in Normalized Units.
-
theta(ArrayLike) –The \(\theta\) angle in \([rads]\).
dexter.LarBfield.db_of_psi_dtheta(psi: ArrayLike, theta: ArrayLike) -> NDArray
¶
The \(dB(\psi, \theta)/d\theta\) value in Normalized Units.
Parameters:
-
psi(ArrayLike) –The toroidal flux \(\psi\) in Normalized Units.
-
theta(ArrayLike) –The \(\theta\) angle in \([rads]\).
dexter.LarBfield.db_of_psip_dtheta(psip: ArrayLike, theta: ArrayLike) -> NDArray
¶
The \(dB(\psi_p, \theta)/d\theta\) value in Normalized Units.
Parameters:
-
psip(ArrayLike) –The poloidal flux \(\psi_p\) in Normalized Units.
-
theta(ArrayLike) –The \(\theta\) angle in \([rads]\).