ionic_levels
- plasmapy.particles.atomic.ionic_levels(
- particle: str | int | integer | Particle | CustomParticle | Quantity,
- min_charge: int = 0,
- max_charge: int | None = None,
Return a
ParticleList
that includes different ionic levels of a base atom.- Parameters:
particle (atom-like) – Representation of an element, ion, or isotope.
min_charge (
int
, default:0
) – The starting charge number.max_charge (
int
, optional) – The ending charge number, which will be included in theParticleList
. Defaults to the atomic number ofparticle
.
- Returns:
The ionic levels of the atom provided from
min_charge
tomax_charge
.- Return type:
Examples
>>> from plasmapy.particles import ionic_levels >>> ionic_levels("He") ParticleList(['He 0+', 'He 1+', 'He 2+']) >>> ionic_levels("Fe-56", min_charge=13, max_charge=15) ParticleList(['Fe-56 13+', 'Fe-56 14+', 'Fe-56 15+'])