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

Feel free to share your publication using lmfitxps in the Discussion tab!

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lmfitxps-4.2.0.tar.gz (61.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lmfitxps-4.2.0-py3-none-any.whl (46.0 kB view details)

Uploaded Python 3

File details

Details for the file lmfitxps-4.2.0.tar.gz.

File metadata

  • Download URL: lmfitxps-4.2.0.tar.gz
  • Upload date:
  • Size: 61.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lmfitxps-4.2.0.tar.gz
Algorithm Hash digest
SHA256 13efd3f474bd245e7fc135e613816d95682bf6cc177157327881bb70a22e6a74
MD5 052f4f60b0ff43481261dac60cbf4baa
BLAKE2b-256 fe8df4a1bc2f70563bf6daca09c53b856efa4373b719ebe2514928a82621ad3e

See more details on using hashes here.

Provenance

The following attestation bundles were made for lmfitxps-4.2.0.tar.gz:

Publisher: publish-to-pypi.yml on Julian-Hochhaus/lmfitxps

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lmfitxps-4.2.0-py3-none-any.whl.

File metadata

  • Download URL: lmfitxps-4.2.0-py3-none-any.whl
  • Upload date:
  • Size: 46.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lmfitxps-4.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5ac3f10ba5edb39e9fa4bafc236f84342b0056d4562f6daa1a6dfe94ef12053
MD5 54a34ec02d98e500b69f0f79f6bea78e
BLAKE2b-256 80d5b59a45ba13e649a0a084dcdfca48db45689bfa46c93b4aae18aa73cf2aef

See more details on using hashes here.

Provenance

The following attestation bundles were made for lmfitxps-4.2.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on Julian-Hochhaus/lmfitxps

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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