element_nameο
- plasmapy.particles.symbols.element_name(element: Particle) str[source]ο
Return the name of an element.
- Parameters:
element (atom-like) β A
strrepresenting an element, isotope, or ion or anintrepresenting 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_symbolExamples
>>> element_name("H") 'hydrogen' >>> element_name("T") 'hydrogen' >>> element_name("alpha") 'helium' >>> element_name(42) 'molybdenum' >>> element_name("C-12") 'carbon'