element_name
- plasmapy.particles.symbols.element_name(element: Particle) str [source]
Return the name of an element.
- Parameters:
element (atom-like) – A
str
representing an element, isotope, or ion or anint
representing an atomic number- Returns:
The name of the element.
- Return type:
- Raises:
InvalidElementError – If the argument is a valid particle but not a valid element.
InvalidParticleError – If the argument does not correspond to a valid particle.
See also
atomic_symbol
,isotope_symbol
,ionic_symbol
,particle_symbol
Examples
>>> element_name("H") 'hydrogen' >>> element_name("T") 'hydrogen' >>> element_name("alpha") 'helium' >>> element_name(42) 'molybdenum' >>> element_name("C-12") 'carbon'