jaxrts.ionization.gen_balance_equation
- jaxrts.ionization.gen_balance_equation(part_i: float | Array, part_j: float | Array, T_e: Quantity, n_e: Quantity, chem_pot: Quantity) Quantity[source]
Generic balance relation expressed in terms of partition functions.
The energy dependence is already folded into
part_iandpart_j(e.g. Planck-Larkin sums), so no explicit Boltzmann factor for \(\Delta E\) appears here:\[\frac{n_{i+1}n_e}{n_i} = \frac{u_{i+1}}{u_i} n_e \exp(-\mu / k_B T_e})\]- Parameters:
part_i (array-like) – Partition functions of adjacent charge states.
part_j (array-like) – Partition functions of adjacent charge states.
T_e (Quantity) – Electron temperature.
n_e (Quantity) – Free-electron density.
chem_pot (Quantity) – Electron chemical potential \(\mu\).
- Returns:
n_j / n_i * n_e (Quantity) – The ratio of the population of the two states, multiplied with the free-electron density.