convertName

ChiantiPy.tools.util.convertName(name)[source] [edit on github]

Convert ion name string (e.g. ‘fe_13’) to atomic number and ion number

Parameters:

name : str

Returns:

{‘Z’, ‘Ion’, ‘Dielectronic’, ‘Element’, ‘higher’, ‘lower’} : dict

higher and lower are the Chianti-style names for the higher and lower ionization stages, respectively.