jaxrts.saha

Module containing functions to solve the Saha-equation, linking the temperature of a plasma to it’s ionization.

Functions

calculate_charge_state_distribution(plasma_state)

Calculates the charge state distribution in fractions using the Saha-Boltzmann equation assuming thermal equilibrium.

calculate_mean_free_charge_saha(plasma_state)

Calculates the mean charge of each ion in a plasma using the Saha-Boltzmann equation.

gen_saha_equation(gi, gj, T_e, n_e, ...)

Generic Saha equation, using jaxrts.plasma_physics.chem_pot_sommerfeld_fermi_interpolation() calculate the chemical potential which is plugged into the equation

saha_equation(gi, gj, T_e, energy_diff)

Calculate the Saha equation for a given set of statistical weights, temperatures and energy-differences.

solve_gen_saha(element_list, T_e, n_e, ...)

Solve the Saha equation for a list of elements at a given temperature.

solve_saha(element_list, T_e, ...[, ...])

Solve the Saha equation for a list of elements at a given temperature.