h_hin_adas
Fit Function | \[\sigma_{ion}^{n>1}(E) = 10^{-16}A_1A_9^4 \Bigg[\frac{\tilde{E}^{A_2}e^{-A_3\tilde{E}}}{1 + A_4\tilde{E}^{A_5}} + \frac{A_6e^{\frac{-A_7}{\tilde{E}}} \ln(1+A_8\tilde{E})}{\tilde{E}} \Bigg], \tilde{E} = A_9^2E, A_9 = n\] |
Comments | Python code requires NumPy imported as `np`. |
Arguments |
|
||||||||||||||||||||||||||||||||||||||||||||
Return values |
|
||||||||||||||||||||||||||||||||||||||||||||
Code | def h_hin_adas(E, A1, A2, A3, A4, A5, A6, A7, A8, A9): """ This function calculates proton impact ionization cross sections (in cm2) of H n>1. param E: requested proton-impact energy in keV type E: float, np.ndarray param Ai: fit coefficient type Ai: float """ e = E * A9**2 sigma = A9**4*1e-16*A1*(e**A2*np.exp(-A3*e)/(1+A4*e**A5) + A6*np.exp(-A7/e)*np.log(1+A8*e)/e) return sigma |