na_ein_lotz
Fit Function | \[\sigma_{e}^{ion, 2s,2p}(E) = A_1 A_2 10^{-14}\frac{\ln\big(\frac{E}{I}\big)}{EI} \Bigg[1 - A_3e^{-A_4\big(\frac{E}{I}-1\big)} \Bigg]\] |
Comments | Python code requires NumPy imported as `np`. |
Arguments |
|
||||||||||||||||||||||||||||
Return values |
|
||||||||||||||||||||||||||||
Code | def na_ein_lotz(E, A1, A2, A3, A4, I): """ This function calculates electron impact ionization cross sections (in cm2) of Na 2s to 2p. 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-14 * A1 * A2 * (np.log(E/I) / (E*I)) * (1 - A3*np.exp(-A4*((E/I)-1))) return sigma |