IonicLevel

class plasmapy.particles.ionization_state.IonicLevel(ion: Particle, ionic_fraction=None, number_density=None, T_i=None)[source]

Bases: object

Representation of the ionic fraction for a single ion.

Parameters:
  • ion (atom-like) – The ion for the corresponding ionic fraction.

  • ionic_fraction (real number, optional) – The fraction of an element or isotope that is at this ionization level. Must be between 0 and 1, inclusive.

  • number_density (Quantity, optional) – The number density of this ion.

Examples

>>> alpha_fraction = IonicLevel("alpha", ionic_fraction=0.31)
>>> alpha_fraction.ionic_symbol
'He-4 2+'
>>> alpha_fraction.charge_number
2
>>> alpha_fraction.ionic_fraction
0.31

Attributes Summary

T_i

The ion temperature of this particular charge state.

charge_number

The charge number of the ion.

ionic_fraction

The fraction of particles of an element that are at this ionization level.

ionic_symbol

The symbol of the ion.

number_density

The number density of the ion.

Attributes Documentation

T_i

The ion temperature of this particular charge state.

charge_number

The charge number of the ion.

ionic_fraction

The fraction of particles of an element that are at this ionization level.

Notes

An ionic fraction must be in the interval \([0, 1]\).

If no ionic fraction is specified, then this attribute will be assigned the value of nan.

ionic_symbol

The symbol of the ion.

number_density

The number density of the ion.