I suggest that instead of using _popular_species dict when reading the data from raw or balance files, we should search for the matches in cherab.core.atomic.elements. First, get all isotopes with a given nuclear charge, second, from them find the one with the closest atomic mass to the given one.
Similarly, _species_symbol_map dict must be replaced with the search for the matching element symbol in cherab.core.atomic.elements. Extracting the nuclear charge from the balance file also must be improved the same way.
I suggest that instead of using _popular_species dict when reading the data from raw or balance files, we should search for the matches in
cherab.core.atomic.elements. First, get all isotopes with a given nuclear charge, second, from them find the one with the closest atomic mass to the given one.Similarly,
_species_symbol_mapdict must be replaced with the search for the matching element symbol incherab.core.atomic.elements. Extracting the nuclear charge from the balance file also must be improved the same way.