Skip to main content

Library for XAS data analysis

Project description

bm23id24_xas is a python library based on xraylarch, pyfitit and pymca It is created on BM23 and ID24 beamlines of the European Synchrotron Radiation Facility (ESRF) It provides tools for analysis of X-ray Absorption spectroscopy data

bm23id24_xas consists of 4 modules:
  • xas

  • pca_estimator

  • MCR-ALS

  • LCA

xas allows to load the data in .h5 format (the standart format for BM23 and ID24 beamlines after 2020 ESRF upgrade), perform calibration, alignment, interpolation, merge, normalization and EXAFS extraction. The result is a dictionary contatining scan numbers as keys and arrays with processed data as sub-dictionaries. The result is a dictionary.

pca_estimator works with the dictionary produced by xas but can also work with an independent txt file contatining energy as the first column and normalized XAS spectra as 2nd and other columns. It allows to interactivelly perform PCA. The function is based on pyfitit, but readapted for the needs of the beamline users. The result is a dictionary.

MCR-ALS works with the dictionary produced by xas, but can also work with an independent txt file contatining energy as the first column and normalized XAS spectra as 2nd and other columns. It allows to interactivelly perform MCR-ALS analysis. It is possible to provide reference spectra if needed as dictionaries produced by xas or txt files if needed. The result is a dictionary.

LCA works with the dictionary produced by xas, but can also work with txt files for both, data and references.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

bm23id24_xas-0.0.8-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file bm23id24_xas-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: bm23id24_xas-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.12

File hashes

Hashes for bm23id24_xas-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 14e574b165a7b61b0582e293f94a6d10f1c725a15ca576d6bdeba99b9c40d48a
MD5 aee06c1d2d7ab20a332583203cb87c5d
BLAKE2b-256 dc3955e1c62954c8b6e5dcb2a7fc0b4db3c1995e0bce88b25aa56a7979b4e3b1

See more details on using hashes here.

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