Current Objects¶
dexter.CurrentObject: TypeAlias = LarCurrent | NcCurrent
module-attribute
¶
Available Current objects.
LarCurrent: Analytical Large Aspect Ratio Current with $g=1$ and $I=0$.NcCurrent: Numerical plasma current profile reconstructed from a netCDF file.
dexter.LarCurrent()
¶
Bases: MachineObject, Current
Analytical Large Aspect Ratio Current with $g=1$ and $I=0$.
Notes
No $\psi$ bounds checks are performed in evaluations.
dexter.NcCurrent(path: str, interp_type: Interpolation1dType)
¶
Bases: MachineObject, Current
Numerical plasma current profile reconstructed from a netCDF file.
Related quantities are computed by interpolating over the data arrays.
Parameters:
-
path(str) –The path to the NetCDF file.
-
interp_type(Interpolation1dType) –The 1D interpolation type.
Attributes:
-
path(str) –The path to the netCDF file.
-
netcdf_version(NetCDFVersion) –The netCDF file's version (SemVer).
-
interp_type(Interpolation1dType) –The 1D interpolation type.
-
psit_array(Array1 | None) –The toroidal flux' values.
-
psip_array(Array1 | None) –The poloidal flux' values.
-
g_array(Array1) –The poloidal current's $g$ values.
-
i_array(Array1) –The poloidal current's $I$ values.