Function adas.xxesym

def xxesym(iz0)

Return the element symbol(s) for a given atomic number(s).

Parameters

iz0 : int
Nuclear charge/atomic number. Can be an array.

Returns

str
Element symbol.

Notes

Last element is uranium Lawrencium (Z0=103). Raises an exception if no element is found.

Version History

  • Martin O'Mullane, 17-09-2019

    • First version
  • Martin O'Mullane, 07-10-2020

    • Description of routine was wrong.
  • Martin O'Mullane, 15-09-2023

    • Extend to Lawrencium (the last actinide).

Example

>>> import adas as adas
>>> adas.xxesym(42)
'Mo'
>>> adas.xxesym([6, 13, 72])
array(['C', 'Al', 'Hf'], dtype='<U2')