Sánchez Lara, VíctorGarcía Pinto, Diego2026-01-132026-01-132025-11-03Victor Sanchez-Lara and Diego Garcia-Pinto, "XPCIpy: A Python toolkit for X-ray phase-contrast imaging," Opt. Express 33, 45949-45966 (2025)10.1364/OE.573918https://hdl.handle.net/20.500.14352/130012X-ray absorption-based imaging often yields insufficient contrast for materials with low atomic numbers. X-ray phase-contrast imaging (PCI) offers a solution by leveraging the phase shift induced by different materials, enabling enhanced visualization of structures with minimal absorption differences. However, extracting phase information from intensity measurements is a non-trivial task, requiring specialized techniques. We present XPCIpy, an open-source software developed in Python, designed for both the simulation of X-ray PCI, including propagation-based imaging (PBI) and Talbot-Lau phase-contrast Imaging (TLPCI), and the reconstruction of TLPCI images. XPCIpy implements the phase stepping method for image retrieval, offering both least squares and fast Fourier transform (FFT)-based reconstruction algorithms. It notably includes an algorithm for correcting phase step and dose fluctuations, which helps mitigate reconstruction artifacts like Moiré patterns. The software’s modular architecture enhances extensibility, and a user-friendly graphical user interface (GUI) improves accessibility for researchers. Validated through both simulations and experimental data, XPCIpy provides a versatile framework to optimize experimental setups, test new reconstruction algorithms, and serve as an accessible tool for the scientific community in X-ray phase-contrast imaging. The code is publicly available at https://github.com/PREDICO-Project/XPCIpy.engXPCIpy: A Python toolkit for X-ray phase-contrast imagingjournal articlehttps://doi.org/10.1364/OE.573918https://opg.optica.org/oe/fulltext.cfm?uri=oe-33-22-45949open accessProgramación de ordenadores (Física)2299 Otras Especialidades Físicas