"Hartree-Slater subshell photoionization cross-sections at 12 eV" YouTube: Installation of LG4X in miniconda3 environment Database reference # self.filePath = '/Users/hidekinakajima/Desktop/WFH2021_2/lg4x/LG4X-master/Python/' Citing You can change the HOME directory in the main.py edited in a way below.
#Sn xps peak ratio iso#
Vamas.py and vamas_export.py are also necessary for importing ISO VAMAS format file. Xpspy.py should be located in the same directory as main.py for XPS energy range selection for background (BG) subtraction in Shirley and Tougaard methods, which are taken from codes by Kane O'Donnell and James Mudd. Python main.python Supplementary codes for XPS analysis Below is an example for environment name vp圓.9 on python version 3.9 ( YouTube video).Ĭonda config -set channel_priority strict
#Sn xps peak ratio install#
If you have Miniconda3, you can create the environment to install lmfit from conda-forge. The OS dependence of installation of python, pip, and brew is described in the link. Methods Installationĭownload and install Python 3 and additional packages. In addition, LG4X simulates the curve without importing data and evaluates the initial parameters over the data plot prior to optimization. Fitting results are also exported as a text for parameters and csv file for spectral data. Fitting parameters can be imported and exported as a preset file before and after analysis to streamline the fitting procedures. LG4X tidies up all fitting parameters with their bound conditions in table forms.
#Sn xps peak ratio code#
Shirley and Tougaard iterated methods are implemented as a supplementary code for XPS background subtraction. LG4X was developed on Python 3, and PyQt5 was used for its graphical interface design. LG4X facilitates the curve fitting analysis for python beginners. LG4X provides a graphical user interface for XPS curve fitting analysis based on the lmfit package, which is the non-linear least-square minimization method on python platform.