cherab.imas.ids.core_profiles.load_core_profilesΒΆ

cherab.imas.ids.core_profiles.load_core_profiles(species_struct: IDSStructure, species: SpeciesData, backup_species_struct: IDSStructure | None = None) ProfileDataSourceΒΆ

Load core profiles from a given species structure.

Parameters:
species_struct: IDSStructureΒΆ

IDS structure containing the profiles for a single species.

species: SpeciesDataΒΆ

The species data for the profiles to be loaded.

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:

ProfileData – Instance of the ProfileData dataclass containing the core profiles for the species.