h_hcx_janev
Fit Function | \[\sigma_{CX}^{n=1}(E)= \frac{10^{-16}A_1 \ln \big( \frac{A_2}{E} + A_6 \big)}{1 + A_3E + A_4E^{3.5} + A_5E^{5.4}}\] |
Comments | Python code requires NumPy imported as `np`. |
Arguments |
|
||||||||||||||||||||||||||||||||
Return values |
|
||||||||||||||||||||||||||||||||
Code | def h_hcx_janev(E, A1, A2, A3, A4, A5, A6): """ This function calculates proton impact charge exchange cross sections (in cm2) of H n=1. param E: requested electron-impact energy in keV type E: float, np.ndarray param Ai: fit coefficient type Ai: float """ sigma = 1e-16 * A1 * np.log(A2/E + A6) / (1 + A3*E + A4*E**3.5 + A5*E**5.4) return sigma |