Abstract
Reflection High-Energy Electron Diffraction (RHEED) is a widely used surface-science technique for real-time monitoring of crystal-surface quality, surface reconstructions or ultrathin film growth. Despite its power, RHEED often produces complex diffraction patterns arising from geometric constraints, making interpretation challenging. Here, we present xRHEED, a Python package that provides a flexible and extensible framework for RHEED image analysis, including diffraction profile extraction, kinematic simulations based on Ewald-sphere construction, and transformation of RHEED images into scattering-vector space. These capabilities enable sophisticated, reproducible analysis workflows and integrates naturally with the scientific Python ecosystem.