Software pyFAI is relying on:

PyFAI is relying on the full Python scientific stack which includes [NumPy], [SciPy], [Matplotlib], [PyOpenCL] but also on some ESRF-developped code:


While pyFAI uses internally numpy arrays everywhere, applications rely on FabIO to read and write 2D image files. FabIO is described in doi:10.1107/S0021889813000150


The silx toolkit provides the basements for all GUI-application of pyFAI and also the OpenCL compute framework.

Program using pyFAI as a library

Github keeps track of dependant projects and 60 open source projects are explicitely dependant on pyFAI. Those include data analysis in most synchrotrons in the world (NSLS-II, APS …) but also on Free electron laser facilities and in electron microscopy. Here is a list of friendly projects which developpers contributed back to pyFAI:


Client-server program to perform azimuthal integration online. Developed for the SNBL and Dubble beamlines by Vadim DIADKIN and available from this mercurial repository.


Dahu is a lightweight plugin based framework available from this git repository. Lighter then EDNA, it is technically a JSON-RPC server over Tango. Used on TRUSAXS beamline at ESRF (ID02), ID15 and ID31, dahu uses pyFAI to process data up to the kHz range.


Graphical user interface for high-pressure diffraction, developed at the APS synchrotron by C. Prescher and described in: doi:10.1080/08957959.2015.1059835

The amount of data collected during synchrotron X-ray diffraction (XRD) experiments is constantly increasing. Most of the time, the data are collected with image detectors, which necessitates the use of image reduction/integration routines to extract structural information from measured XRD patterns. This step turns out to be a bottleneck in the data processing procedure due to a lack of suitable software packages. In particular, fast-running synchrotron experiments require online data reduction and analysis in real time so that experimental parameters can be adjusted interactively. Dioptas is a Python-based program for on-the-fly data processing and exploration of two-dimensional X-ray diffraction area detector data, specifically designed for the large amount of data collected at XRD beamlines at synchrotrons. Its fast data reduction algorithm and graphical data exploration capabilities make it ideal for online data processing during XRD experiments and batch post-processing of large numbers of images.


Graphical user interface for small angle diffusion, developed at the Petra III synchrotron by G. Benecke and co-workers and described in doi:10.1107/S1600576714019773

X-ray scattering experiments at synchrotron sources are characterized by large and constantly increasing amounts of data. The great number of files generated during a synchrotron experiment is often a limiting factor in the analysis of the data, since appropriate software is rarely available to perform fast and tailored data processing. Furthermore, it is often necessary to perform online data reduction and analysis during the experiment in order to interactively optimize experimental design. This article presents an open-source software package developed to process large amounts of data from synchrotron scattering experiments. These data reduction processes involve calibration and correction of raw data, one- or two-dimensional integration, as well as fitting and further analysis of the data, including the extraction of certain parameters. The software, DPDAK (directly programmable data analysis kit), is based on a plug-in structure and allows individual extension in accordance with the requirements of the user. The article demonstrates the use of DPDAK for on- and offline analysis of scanning small-angle X-ray scattering (SAXS) data on biological samples and microfluidic systems, as well as for a comprehensive analysis of grazing-incidence SAXS data. In addition to a comparison with existing software packages, the structure of DPDAK and the possibilities and limitations are discussed.


EDNA is a framework for developing plugin-based applications especially for online data analysis in the X-ray experiments field ( A EDNA data analysis server is using pyFAI as an integration engine (on the GPU) on the ESRF BioSaxs beamline, BM29. The server is running 24x7 with a processing frequency from 0.1 to 10 Hz.


The Library for Image Acquisition, developped at the European synchrotron is used worldwide to control any types of cameras. A pyFAI plugin has been written to integrate images on the fly without saving them. (no more tested).


NanoPeakCell (NPC) is a python-software intended to pre-process your serial crystallography raw-data into ready-to-be-inedexed images with CrystFEL, cctbx.xfel and nXDS. NPC is able to process data recorded at SACLA and LCLS XFELS, as well as data recorded at any synchrotron beamline. A graphical interface is deployed to visualize your raw and pre-processed data.

Developed at IBS (Grenoble) by N. Coquelle


A Python library for reduction of 2D grazing-incidence X-ray scattering data developped at ESRF (ID13) by Thomas DANE.

Grazing-incidence X-ray scattering techniques (GISAXS, GIWAXS/GID) allow the study of thin films on surfaces that would otherwise be unmeasurable in standard transmission geometry experiments. The fixed incident X-ray angle gives rise to a distortion in the diffraction patterns, which is extreme at wide-angles. The pygix library provides routines for projecting 2D detector images into corrected reciprocal space maps, radial transformations and line profile extraction using pyFAI’s regrouping functions.


Python for Small Angle X-ray Scattering data acquisition, treatment and computation of model SAXS intensities.

Developed at CEA Saclay by O. Taché and available on PyPI.


Xi-cam is developed by Ronald Pandolfi, Dinesh Kumar, Singanallur Venkatakrishnan and Alexander Hexemer at ALS.

Xi-cam aims to provide a community driven platform for multimodal analysis in synchrotron science. The platform core provides a robust plugin infrastructure for extensibility, allowing continuing development to simply add further functionality. Current modules include tools for characterization with (GI)SAXS, Tomography, and XAS. This will continue to serve as a development base as algorithms for multimodal analysis develop.

Seamless remote data access, visualization and analysis are key elements of Xi-CAM, and will become critical to synchrotron data infrastructure as expectations for future data volume and acquisition rates rise with continuously increasing throughputs. The highly interactive design elements of Xi-cam will similarly support a generation of users which depend on immediate data quality feedback during high-throughput or burst acquisition modes.


Developed by the Billinge Group, this commercial software is described in arXiv 1402.3163 (2014)

xPDFsuite is an application that facilitates the workflow of atomic pair distribution function analysis of x-ray diffraction measurements from complex materials. It is specially designed to help the scientist visualize, handle and process large numbers of datasets that is common when working with high throughput modern synchrotron sources. It has a full-featured interactive graphical user interface (GUI) with 3D and 3D graphics for plotting data and it incorporates a number of powerful packages for integrating 2D powder diffraction images, analyzing the curves to obtain PDFs and then tools for assessing the data and modeling it. It is available from