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.7-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bm23id24_xas-0.0.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 4a0e7b42a28fe8e6ae557d284df972486ee7ee9fea138092f35056737dbf3cfa
MD5 0463de43601a407d00b2a1a5baae6064
BLAKE2b-256 04137666b17e6d02f6b79e1f8b0b7ecaa0c9d35e4e492054c72731e57aef5dd2

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