Metadata-Version: 2.1
Name: bm23id24-xas
Version: 0.0.8
Summary: Library for XAS data analysis
Home-page: UNKNOWN
Author: Molokova, Lomachenko, Lopez Romero
License: UNKNOWN
Platform: UNKNOWN
License-File: LICENSE.md
Requires-Dist: xraylarch
Requires-Dist: pymcr
Requires-Dist: pyfitit
Requires-Dist: h5py

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.
 


