Function br_emission_coefficient_with_he

Source
pub fn br_emission_coefficient_with_he(
    x: f64,
    theta_e: f64,
    theta_z: f64,
    n_h: f64,
    n_he: f64,
    n_e: f64,
    x_e_frac: f64,
    y_he_ii: f64,
    y_he_i: f64,
) -> f64
Expand description

BR emission coefficient with pre-computed He ionization fractions.

Same physics as br_emission_coefficient but avoids redundant Saha evaluations when called in a grid loop (z_approx is identical for all x).