is_stable

plasmapy.particles.atomic.is_stable(particle: str | int | integer | Particle | CustomParticle | Quantity, mass_numb: int | 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, keyword-only, optional) – The mass number of an 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