Skip to main content

Python implementation of FitIt software to fit X-ray absorption near edge structure (XANES) extended with additional features

Project description

Logo

pyFitIt

Python implementation of FitIt software to fit X-ray absorption near edge structure (XANES) and other spectra. The python version is extended with additional features: machine learning, automatic component analysis, joint convolution fitting and others.

PyFitIt website

Features

  • Uses ipywidgets to construct the portable GUI
  • Calculates spectra by FDMNES or FEFF or ADF or pyGDM
  • Interpolates spectra in order to speedup fitting. Support different types of interpolation point generation: grid, random, IHS, adaptive and various interpolation methods including machine learning algorithms
  • Using multidimensional interpolation approximation you can vary parameters by sliders and see immediately theoretical spectrum, which corresponds to this geometry. Fitting can be performed on the basis of visual comparison with experiment or using automatic procedure and quantitative criteria.
  • Supports direct prediction of geometry parameters by machine learning
  • Includes automatic and semi-automatic component analysis

Installation

pip install pyfitit

Usage

See examples folder in this repository.

This project is developing thanks to

  • Grigory Smolentsev
  • Sergey Guda
  • Alexandr Soldatov
  • Carlo Lamberti
  • Alexander Guda
  • Oleg Usoltsev
  • Yury Rusalev
  • Andrea Martini
  • Alexandr Algasov
  • Danil Pashkov
  • Aram Bugaev
  • Mikhail Soldatov

If you like the software acknowledge it using the references below:

A. Martini, S. A. Guda, A. A. Guda, G. Smolentsev, A. Algasov, O. Usoltsev, M. A. Soldatov, A. Bugaev, Yu. Rusalev, C. Lamberti, A. V. Soldatov "PyFitit: the software for quantitative analysis of XANES spectra using machine-learning algorithms" Computer Physics Communications. 2019. DOI: 10.1016/j.cpc.2019.107064

A. Martini, A.A. Guda, S.A. Guda, A.L. Bugaev, O.V. Safonova, A.V. Soldatov "Machine Learning Powered by Principal Component Descriptors as the Key for Sorted Structural Fit of XANES" // Phys. Chem. Chem. Phys., 2021 DOI: 10.1039/D1CP01794B

A. Martini, A. A. Guda, S. A. Guda, A. Dulina, F. Tavani, P. D’Angelo, E. Borfecchia, and A. V. Soldatov. Estimating a Set of Pure XANES Spectra from Multicomponent Chemical Mixtures Using a Transformation Matrix-Based Approach // In: Di Cicco A., Giuli G., Trapananti A. (eds) Synchrotron Radiation Science and Applications. Springer Proceedings in Physics, vol 220. Springer, Cham. DOI: 10.1007/978-3-030-72005-6_6

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

pyfitit-2.0.9-py3-none-any.whl (30.7 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page