cherab.imas.ids.common.species.get_ionΒΆ
- cherab.imas.ids.common.species.get_ion(ion: IDSStructure, elements: tuple[Element, ...]) SpeciesDataSourceΒΆ
Get a unique identifier for an ion or molecule.
- Parameters:
- ion: IDSStructureΒΆ
The ion structure from IMAS.
- elements: tuple[Element, ...]ΒΆ
Tuple of elements that make up the ion.
- Returns:
SpeciesDataβ Instance of theSpeciesDatadataclass representing the ion or molecule.