pyrokinetics.gk_code.gk_output.Eigenfunctions#
- class pyrokinetics.gk_code.gk_output.Eigenfunctions(eigenfunctions, dims=('field', 'theta', 'kx', 'ky', 'time'))[source]#
Bases:
GKOutputArgsUtility dataclass type used to pass eigenfunctions to
GKOutput.- __init__(eigenfunctions, dims=('field', 'theta', 'kx', 'ky', 'time'))#
Methods
__init__(eigenfunctions[, dims])items()Dict-like items iteration
units(name, c)Return units for a given convention
values()Dict-like values iteration
with_units(c)Apply units to each quantity in turn and return a new
Coords.Attributes
coordsTuple containing the names of each supplied field (those that aren't
None).The dimensionality of the eigenfunctions.
namesNames of all quantities held by this dataclass
shapeShape of quantities.
Eigenfunction data to pass to
GKOutput- dims: dataclasses.InitVar[Tuple[str, ...]] = ('field', 'theta', 'kx', 'ky', 'time')#
The dimensionality of the eigenfunctions. Should match
data.
- eigenfunctions: ArrayLike#
Eigenfunction data to pass to
GKOutput