h_ein_janev
Fit Function | \[\sigma_{ion} (E) = \frac{10^{-13}}{IE} \Bigg[A_1 \ln \bigg( \frac{E}{I} \bigg) + \sum_{j=1}^5 A_{j+1}\bigg(1 - \frac{E}{I} \bigg)^j \Bigg]\] |
Comments | Python code requires NumPy imported as `np`. |
Arguments |
|
||||||||||||||||||||||||||||||||||||
Return values |
|
||||||||||||||||||||||||||||||||||||
Code | def h_ein_janev(E, A1, A2, A3, A4, A5, A6, I): """ This function calculates electron impact ionization cross sections (in cm2) of H n=1, 2, 3. param E: requested electron-impact energy in eV type E: float, np.ndarray param Ai: fit coefficient type Ai: float param I: ionization energy in eV type I: float """ sigma = 1e-13/(E*I)*(A1*np.log(E/I)+A2*(1-I/E) + A3*(1-I/E)**2 + A4*(1-I/E)**3 + A5*(1-I/E)**4 + A6*(1-I/E)**5) return sigma |