RT Journal Article T1 XPCIpy: A Python toolkit for X-ray phase-contrast imaging A1 Sánchez Lara, Víctor A1 García Pinto, Diego AB X-ray absorption-based imaging often yields insufficient contrast for materials withlow atomic numbers. X-ray phase-contrast imaging (PCI) offers a solution by leveraging the phaseshift induced by different materials, enabling enhanced visualization of structures with minimalabsorption differences. However, extracting phase information from intensity measurements is anon-trivial task, requiring specialized techniques. We present XPCIpy, an open-source softwaredeveloped in Python, designed for both the simulation of X-ray PCI, including propagation-basedimaging (PBI) and Talbot-Lau phase-contrast Imaging (TLPCI), and the reconstruction of TLPCIimages. XPCIpy implements the phase stepping method for image retrieval, offering both leastsquares and fast Fourier transform (FFT)-based reconstruction algorithms. It notably includes analgorithm for correcting phase step and dose fluctuations, which helps mitigate reconstructionartifacts like Moiré patterns. The software’s modular architecture enhances extensibility, and auser-friendly graphical user interface (GUI) improves accessibility for researchers. Validatedthrough both simulations and experimental data, XPCIpy provides a versatile framework tooptimize experimental setups, test new reconstruction algorithms, and serve as an accessible toolfor the scientific community in X-ray phase-contrast imaging. The code is publicly available athttps://github.com/PREDICO-Project/XPCIpy. PB Optica Publishing Group YR 2025 FD 2025-11-03 LK https://hdl.handle.net/20.500.14352/130012 UL https://hdl.handle.net/20.500.14352/130012 LA eng NO Victor Sanchez-Lara and Diego Garcia-Pinto, "XPCIpy: A Python toolkit for X-ray phase-contrast imaging," Opt. Express 33, 45949-45966 (2025) NO Ministerio de Ciencia e Innovación, Gobierno de España DS Docta Complutense RD 19 ene 2026