MerPy is the python project with a realization of Mermin-type oscillators based energy loss function.
Repository contains MerPy lib (file merpy.py), module for reading input data (file read_data.py) and parallel code which calculate inelastic mean free path and stopping power of water (file main.py). Folder INPUT_CDF contains .cdf file with parameters of water-elf
The energy loss function is defined as [1]:
Where
Here
[1] Abril, I., Garcia-Molina, R., Denton, C. D., Pérez-Pérez, F. J., & Arista, N. R. (1998). Dielectric description of wakes and stopping powers in solids. Physical Review A, 58(1), 357. [2] Mermin, N. D. (1970). Lindhard dielectric function in the relaxation-time approximation. Physical Review B, 1(5), 2362.