xraypy / xraylarch

Larch: Applications and Python Library for Data Analysis of X-ray Absorption Spectroscopy (XAS, XANES, XAFS, EXAFS), X-ray Fluorescence (XRF) Spectroscopy and Imaging, and more.
https://xraypy.github.io/xraylarch
MIT License
138 stars 68 forks source link

Add MCR-ALS analysis in Larch #492

Open maurov opened 10 months ago

maurov commented 10 months ago

I would like to add MCR-ALS method to Larch. Currently, one of the most used tool is the [Jaumot toolbox in Matlab. In Python, I have identified the following packages providing MRC-ALS (ordered by personal preferences):

Using these packages is straightforward, but I think we should discuss how to have a common top interface (using any of those libraries as backend) that could send any matrix of spectra (not only limited to XAFS) to these workflows and get the results back.

To start, we could provide an example Jupyter notebook.

newville commented 10 months ago

+1 from me. There are definitely others interested in this!