Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 932 Bytes

README.md

File metadata and controls

31 lines (18 loc) · 932 Bytes

xps

A python code to process and fit x-ray photoelectron spectra (XPS).

Usage

To choose data region and background substract:

python3 preparedata.py testdata.xlsx

To fit:

python3 processdataandfit.py testdata.xlsx testguess.xlsx

The testdata.xlsx is the excel xps data file. The first two columns are respectively binding energy and intensity. The spectra is assumed to be background substracted and corrected for any charging.

The testguess.xlsx contains the guess values for the peaks. The first three columns are respectively intensity, binding energy and peak width (fwhm).

Screenshots

Selecting data region:

alt text

Background substraction:

alt text

Fitting:

alt text

References

Test data: Mendeley xps data.