na_hel
Fit Function | \[\sigma_{p}^{hel, Na}(E) = A_1 \cdot 10^{-16}\Bigg[ \frac{e^{-\frac{A_2}{E}}\ln\big(1 + A_3E\big)}{E} + A_4\frac{e^{-A_5E}}{\big(A_7E\big)^{A_6}}\Bigg]\] |
Comments | Python code requires NumPy imported as `np`. |
Arguments |
|
||||||||||||||||||||||||||||||||||||
Return values |
|
||||||||||||||||||||||||||||||||||||
Code | def na_hel(E, A1, A2, A3, A4, A5, A6, A7): """ This function calculates proton impact electron loss (ion + CX) cross sections (in cm2) of Na 3s to 5s. param E: requested electron-impact energy in keV/u type E: float, np.ndarray param Ai: fit coefficient type Ai: float """ sigma = A1*1e-16*((np.exp(-A2/E) * np.log(1 + A3*E))/E + A4*np.exp(-A5*E)/(A7*E)**A6) return sigma |