Crystallographic resources

pyFAI

Entered: Thu Nov 18 2021

Operating systems: Linux; MacOS; Unix; MS Windows

Type: Binary; Source

Languages: C; C++; Python

Distribution: Free

Application fields: Biology; Characterization; Chemistry; Data analysis; Diffraction; Graphics; Inorganic chemistry; Instrumentation; Materials science; Powder; Scattering; Visualization

Bibliography: Kieffer, J., Valls, V., Blanc, N. & Hennig, C. (2020). J. Synchrotron Rad. 27, 558-566.

Description: PyFAI is an azimuthal integration library that tries to be fast (as fast as C and even more using OpenCL and GPU). It is based on histogramming of the 2theta/Q positions of each (center of) pixel weighted by the intensity of each pixel, but parallel version uses a SparseMatrix-DenseVector multiplication. Neighboring output bins get also a contribution of pixels next to the border thanks to pixel splitting. Finally pyFAI provides also tools to calibrate the experimental setup using Debye-Scherrer rings of a reference compound.

References: https://pypi.org/project/pyFAI/



Last updated: 18 Nov 2021