is_stable

plasmapy.particles.atomic.is_stable(particle: Particle, mass_numb: Integral | None = None) bool[source]

Return True for stable isotopes and particles and False for unstable isotopes.

Parameters:
  • particle (particle-like) – A string representing an isotope or particle, or an integer representing an atomic number.

  • mass_numb (integer, optional) – The mass number of the isotope.

Returns:

True if the isotope is stable, False if it is unstable.

Return type:

bool

Raises:

Examples

>>> is_stable("H-1")
True
>>> is_stable("tritium")
False
>>> is_stable("e-")
True
>>> is_stable("tau+")
False