cherab.imas.ids.common.species.ProfileDataΒΆ
-
class cherab.imas.ids.common.species.ProfileData(species: SpeciesData, density: NDArray[float64] | None =
None, density_thermal: NDArray[float64] | None =None, density_fast: NDArray[float64] | None =None, temperature: NDArray[float64] | None =None, velocity: VelocityData | None =None)SourceΒΆ Bases:
objectDataclass for storing the profile data of a species.
Methods
Return paths and shapes for every array stored in this profile.
Attributes
Density (thermal+non-thermal) [m^-3].
Density of fast (non-thermal) particles [m^-3].
Density (thermal) [m^-3].
Temperature [eV].
Bulk velocity data of the species.
Data of the species.
- species : SpeciesDataΒΆ
Data of the species.
-
velocity : VelocityData | None =
NoneΒΆ Bulk velocity data of the species.
- array_shapes() tuple[tuple[str, tuple[int, ...]], ...]SourceΒΆ
Return paths and shapes for every array stored in this profile.
The dataclass hierarchy is traversed dynamically, so newly added array fields are included without changing this method.
- Returns:
tuple[tuple[str, tuple[int, β¦]], β¦] β Field paths and corresponding array shapes.