Skip to main content

This package contains additional models for the lmfit package for fitting XPS spectra.

Project description

lmfitxps

DOI Documentation Status PyPI version Downloads License: MIT FOSS: 100%

Introduction

Welcome to lmfitxps, a small Python package designed as an extension for the popular lmfit package, specifically tailored for X-ray Photoelectron Spectroscopy (XPS) data analysis.

While lmfit provides simple tools to build complex fitting models for non-linear least-squares problems and applies these models to real data, as well as introduces several built-in models, lmfitxps acts as an extension to lmfit designed for XPS data analysis. lmfitxps provides a comprehensive set of functions and models that facilitate the fitting of XPS spectra. In particular, lmfitxps provides several models that use the convolution of a Gaussian with model functions of the limit-package.

In addition to models for fitting signals in XPS data, lmfitxps introduces several background models that can be included in the fit model for fitting the data rather than subtracting a precalculated background. This is the so-called active approach, as suggested by A. Herrera-Gomez, and generally leads to better fit results.

For further details, please refer to the documentation of lmfitxps and lmfit!

Installation

To install lmfitxps, simply use pip:

pip install lmfitxps

How to cite

DOI

List of Publications using lmfitxps

Publications that use LG4X-V2, a graphical user interface (GUI) for XPS/XAS analysis that heavily utilizes lmfit and lmfitxps, are also included.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page