PyFAI, a versatile library for azimuthal regrouping - Archive ouverte HAL Access content directly
Conference Papers Year : 2013

PyFAI, a versatile library for azimuthal regrouping


2D area detectors like CCD or pixel detectors have become popular in the last 15 years for diffraction experiments (e.g. for WAXS, SAXS, single crystal and powder diffraction (XRPD)). These detectors have a large sensitive area of millions of pixels with high spatial resolution. The software package pyFAI has been designed to reduce SAXS, WAXS and XRPD images taken with those detectors into 1D curves (azimuthal integration) usable by other software for in-depth analysis such as Rietveld refinement, or 2D images (a radial transformation named caking). As a library, the aim of pyFAI is to be integrated into other tools like PyMca or EDNA with a clean pythonic interface. However pyFAI features also command line tools for batch processing, converting data into q-space (q being the momentum transfer) or 2 theta-space (theta being the Bragg angle) and a calibration graphical interface for optimizing the geometry of the experiment using the Debye-Scherrer rings of a reference sample. PyFAI shares the geometry definition of SPD but can directly import geometries determined by the software FIT2D. PyFAI has been designed to work with any kind of detector and geometry (transmission or reflection) and relies on FabIO, a library able to read more than 20 image formats produced by detectors from 12 different manufacturers. During the transformation from cartesian space (x, y) to polar space (2 theta, chi), both local and total intensities are conserved in order to obtain accurate quantitative results. Technical details on how this integration is implemented and how it has been ported to native code and parallelized on graphic cards are discussed in this paper
Fichier principal
Vignette du fichier
J_Phys_Conf_Series_425_202012.pdf (505.93 Ko) Télécharger le fichier
Origin : Publisher files allowed on an open archive

Dates and versions

hal-01572836 , version 1 (08-08-2017)



Jerome Kieffer, Dimitrios Karkoulis. PyFAI, a versatile library for azimuthal regrouping. 11th International Conference on Synchrotron Radiation Instrumentation (SRI), Jul 2012, Lyon, France. 5 p., ⟨10.1088/1742-6596/425/20/202012⟩. ⟨hal-01572836⟩
24 View
245 Download



Gmail Facebook Twitter LinkedIn More