Function adas.xxeiam
def xxeiam(esym)
-
Return the atomic mass for an element(s).
Parameters
esym
:str
- Element symbol. Can be an array.
Returns
float
- Mass of element(s).
Notes
Last element is Lawrencium (Z0=103). Returns 0.0 if element is heavier.
Version History
-
Martin O'Mullane, 29-03-2019
- First version
-
Martin O'Mullane, 15-09-2023
- Extend to Lawrencium (the last actinide).
-
Martin O'Mullane, 05-04-2024
- Update mass of H, D and T from NIST (2018 CODATA).
Example
>>> import adas as adas >>> adas.xxeiam('C') 12.011 >>> adas.xxeiam(['He', 'Be', 'Hf']) array([ 4.0026 , 9.01218, 178.49 ])