cherab.imas.ids.edge_profiles.load_edge_profilesΒΆ

cherab.imas.ids.edge_profiles.load_edge_profiles(species_struct: IDSStructure, species: SpeciesData, grid_subset_index: int = 5, backup_species_struct: IDSStructure | None = None) ProfileDataSourceΒΆ

Load edge profiles from a given species structure.

Parameters:
species_struct: IDSStructureΒΆ

The ids structure containing the profiles for a single species.

species: SpeciesDataΒΆ

The species data for the profiles to be loaded.

grid_subset_index: int = 5ΒΆ

Identifier index of the grid subset, by default 5 ("Cells").

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 loaded profiles.