Function adas.atomic2spectroscopic
def atomic2spectroscopic(iz)
-
Return the
Parameters
iz
:integer
, optionalarray
- ionisation degree in atomic convention 0 for neutrla, 1 for singly charged etc.
Returns
ion
:str, may be an array
- ionisation degree I is neutral, II singly ionised etc.
Notes
Limited to 0-92 so not a general purpose arabic to roman conversion routine.
Version History
- Martin O'Mullane, 05-04-2021
- First version
Example
>>> import adas as adas >>> adas.atomic2spectroscopic([0, 10, 49]) array(['I', 'XI', 'L'], dtype='<U2') >>> adas.atomic2spectroscopic(56) 'LVII'