Skip to content

Some python code to assist in XPS fitting, managing data and results as dictionaries

License

Notifications You must be signed in to change notification settings

JulioAzcarate/pyFitXPS

Repository files navigation

pyFitXPS

The aim of this project is to assit in fitting XPS data for secuencial spectra; e.g.: Depth profile assay, Irradiation Damage for Self-Assembled Monolayers of Molecules on Surface, and so on...

This project contain several function wich allow to load .xy files generated by SpecsLab Prodigy software from SPECS. Also have others functions to "select the range of data to fit", fit the Fermi Edge and correct the energy scale.

The data are managed by dictionaries. The idea to use dictionary is to store the "original data" (as tuple, to prevent modifications), the "corrected data" and fit's result in one objet which can be easily saved and exported.

The fit procedures are realised using LMFIT. The XPS peaks are fitted using similar aproches than is commonly used in IgorPro by XPSDoniach procedures.

This project uses the most precise physical focus during the tuning process. The functions used for the adjustment are built by means of the convolution of a peak function (Lorenztian or Donian-Sunjic) with a Gaussian function of the measurement process.

TODO

Loading files

  • Read one .XY file for separated region from SpecLab Prodigy software.
  • Read one .XY file for "all data in one file".
  • Read .XY file for separated scans.

Manage data

  • Correct energy scale manually.
  • Correct energy scale from reference FL previously fitted.
  • Correcto energy scale for several regions at once

Fitting procedures

  • Functions to fit Fermi Edge.
  • Functions to fit Doblet Peaks for np, nd, nf.

About

Some python code to assist in XPS fitting, managing data and results as dictionaries

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published