Function adas.xxelem
def xxelem(iz0)
-
Return the element name(s) of atomic number(s).
Parameters
iz0
:int
- Nuclear charge/atomic number. Can be an array.
Returns
str
- Element name.
Notes
Last element is Lawrencium (Z0=103). Raises an exception if no element is found.
The name is returned in lower case.
Version History
-
Martin O'Mullane, 29-03-2019
- First version
-
Martin O'Mullane, 15-09-2023
- Extend to Lawrencium (the last actinide).
Example
>>> import adas as adas >>> adas.xxelem(42) 'molybdenum' >>> adas.xxelem([6, 13, 72]) array(['carbon', 'aluminium', 'hafnium'], dtype='<U12')