Skip to main content

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.

xas exist in an old xas_v2_6 and new xasproc_v2_82 forms to test the new form

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.

Metadata

Release files for bm23id24-xas 0.0.13

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

Source distribution (sdist)

Source distribution for bm23id24-xas 0.0.13
File Size Uploaded
bm23id24_xas-0.0.13.tar.gz 21.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bm23id24-xas 0.0.13
File Interpreter ABI Platform
bm23id24_xas-0.0.13-py3-none-any.whl Python 3 none any Details

Total release size: 48.0 kB

Release files / bm23id24_xas-0.0.13.tar.gz

Download URL bm23id24_xas-0.0.13.tar.gz
Size 21.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2cfa3fc6348d10644308944e44804c33692486e221cbe3b105827598106a236b
BLAKE2b-256 checksum
How to use checksums
f7d1542e3c30f9c6c668f1e2028be13925da27abe734a73ea4d4cc2a056f241c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / bm23id24_xas-0.0.13-py3-none-any.whl

Download URL bm23id24_xas-0.0.13-py3-none-any.whl
Size 26.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3669766dc1fb90bd221aa699ccf7a8a66d7409b9d4df6b2147ee25f6c4314adc
BLAKE2b-256 checksum
How to use checksums
82cd9a75ab8f9689160516fc67d6b53a4dc37e6e015bac32cd1d1cfd4fbe8fa2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

0.0.13 This release

2 release files

0.0.10

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

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