A short script to extract and analyze EELS linescan data from .dm4 files.
This script can be utilized to determine the thickness of materials from EELS linescan data.
For more information regarding the theory of EELS, please see the following resources:
Egerton, R. F. Electron Energy-Loss Spectroscopy in the Electron Microscope. (Springer US, 2011). doi:10.1007/978-1-4419-9583-4
Malis, T., Cheng, S. C. & Egerton, R. F. EELS log-ratio technique for specimen-thickness measurement in the TEM. J. Electron Microsc. Tech. 8, 193–200 (1988). doi:10.1002/jemt.1060080206
This script was developed in the following environment:
Python 3.9.7
hyperspy 1.6.5
tk 8.6.11
numpy 1.20.3
matplotlib 3.4.3
scipy 1.8.0
lmfit 1.0.3