zephyrus.atomic_data
atomic_data
atomic_data.py
Atomic and molecular cooling data and closed-form rate coefficients.
Author: Mara Attia
badnell_alpha_rr(T, coeffs=BADNELL_N)
Radiative recombination coefficient, cm^3 s^-1 (Badnell 2006, Eqs. 1-2).
Source code in src/zephyrus/atomic_data.py
89 90 91 92 93 94 95 | |
alpha_case_b(element, T)
Case B recombination coefficient, cm^3 s^-1, with temperature scaling.
Applies the Murray-Clay et al. (2009) hydrogen temperature dependence
(T / 1e4 K)^-0.9 to every element: the heavies' archival values
exist only at 1e4 K, so extending hydrogen's exponent to them is a
documented approximation that matters once the thermostat moves the
wind temperature away from 1e4 K. Elements without a tabulated value
take the atomic-O coefficient (the nearest heavy; callers record the
coefficient provenance upstream).
Source code in src/zephyrus/atomic_data.py
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | |
co2_band_cooling(n_co2, colliders, T, col_co2=0.0)
CO2 15 micron band volumetric cooling, erg s^-1 cm^-3.
Johnstone et al. (2018) Eqs. (34)-(38) with no stellar infrared pumping
(their S_IR term is zero in the escaping-region application).
n_co2 [cm^-3]; colliders maps species to number densities
[cm^-3]; col_co2 is the overlying CO2 column [cm^-2] for the escape
probability, whose zero-column limit is the non-LTE ceiling 0.5.
Excitation rates follow from detailed balance,
k_e = 2 k_d exp(-h nu / k_B T).
The abundances are molecular because this is a base-region coolant, on deexcitation fits measured over roughly 150 to 500 K. Above CO2 dissociation the band should be absent rather than small, which this function does not enforce.
Source code in src/zephyrus/atomic_data.py
144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 | |
o_finestructure_cooling(n_o, T)
Atomic O fine-structure cooling at 63 and 147 micron, erg s^-1 cm^-3.
The closed LTE form of Johnstone et al. (2018) Eqs. (41)-(43), tracing
to Bates (1951); n_o is the atomic oxygen density [cm^-3].
Source code in src/zephyrus/atomic_data.py
185 186 187 188 189 190 191 192 193 194 | |