cherab.imas.ids.core_profiles.load_core_profilesΒΆ

cherab.imas.ids.core_profiles.load_core_profiles(species_struct: IDSStructure, backup_species_struct: IDSStructure | None = None) dict[str, ndarray | None]SourceΒΆ

Load core profiles from a given species structure.

The returned dictionary values for missing profiles are None.

Parameters:
species_struct: IDSStructureΒΆ

IDS structure containing the profiles for a single species.

backup_species_struct: IDSStructure | None = NoneΒΆ

The backup ids structure that is used if the profile is missing in species_struct, by default None.

Returns:

Dictionary with the profiles: density, density_thermal, density_fast, temperature and z_average_1d.

Return type:

dict[str, ndarray | None]