Skip to main content

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.

Metadata

Release files for lmfitxps 4.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lmfitxps 4.2.0
File Size Uploaded Provenance Actions
lmfitxps-4.2.0.tar.gz 61.7 kB With provenance Details for lmfitxps-4.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lmfitxps 4.2.0
File Interpreter ABI Platform Actions
lmfitxps-4.2.0-py3-none-any.whl Python 3 none any Details for lmfitxps-4.2.0-py3-none-any.whl

Total release size: 107.7 kB

Release files / lmfitxps-4.2.0.tar.gz

Download URL lmfitxps-4.2.0.tar.gz
Size 61.7 kB
Tags Source
SHA-256 checksum
How to use checksums
13efd3f474bd245e7fc135e613816d95682bf6cc177157327881bb70a22e6a74
BLAKE2b-256 checksum
How to use checksums
fe8df4a1bc2f70563bf6daca09c53b856efa4373b719ebe2514928a82621ad3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 9, 2025.

Transparency log

Release files / lmfitxps-4.2.0-py3-none-any.whl

Download URL lmfitxps-4.2.0-py3-none-any.whl
Size 46.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5ac3f10ba5edb39e9fa4bafc236f84342b0056d4562f6daa1a6dfe94ef12053
BLAKE2b-256 checksum
How to use checksums
80d5b59a45ba13e649a0a084dcdfca48db45689bfa46c93b4aae18aa73cf2aef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 9, 2025.

Transparency log

Security for lmfitxps 4.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for lmfitxps-4.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 9, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page