Journal of Synchrotron Radiation (Mar 2024)

ProSPyX: software for post-processing images of X-ray ptychography with spectral capabilities

  • Redhouane Boudjehem,
  • Anico Kulow,
  • Javier Pérez,
  • Eric Gautier,
  • Samy Ould-chikh,
  • Sébastien Pairis,
  • Jean-Louis Hazemann,
  • Julio César da Silva

DOI
https://doi.org/10.1107/S160057752400016X
Journal volume & issue
Vol. 31, no. 2
pp. 399 – 408

Abstract

Read online

X-ray ptychography is a coherent diffraction imaging technique based on acquiring multiple diffraction patterns obtained through the illumination of the sample at different partially overlapping probe positions. The diffraction patterns collected are used to retrieve the complex transmittivity function of the sample and the probe using a phase retrieval algorithm. Absorption or phase contrast images of the sample as well as the real and imaginary parts of the probe function can be obtained. Furthermore, X-ray ptychography can also provide spectral information of the sample from absorption or phase shift images by capturing multiple ptychographic projections at varying energies around the resonant energy of the element of interest. However, post-processing of the images is required to extract the spectra. To facilitate this, ProSPyX, a Python package that offers the analysis tools and a graphical user interface required to process spectral ptychography datasets, is presented. Using the PyQt5 Python open-source module for development and design, the software facilitates extraction of absorption and phase spectral information from spectral ptychographic datasets. It also saves the spectra in file formats compatible with other X-ray absorption spectroscopy data analysis software tools, streamlining integration into existing spectroscopic data analysis pipelines. To illustrate its capabilities, ProSPyX was applied to process the spectral ptychography dataset recently acquired on a nickel wire at the SWING beamline of the SOLEIL synchrotron.

Keywords