Welcome to Adorym’s documentation!

Adorym, (Automatic Differentiation-based Object Reconstruction with Dynamical Scattering) is a Python package for solving inverse problems in generic optical image reconstruction tasks (e.g., coherent diffraction imaging, holography, ptychography, line-projection tomography, ptychotomography, and multislice ptychotomography). The package uses automatic differentiation to calculate the gradient used for iterative optimization algorithms from the given forward model with minimal human intervention, saving the labors needed for rederiving the gradient when one switches/tweaks the forward model. Adorym supports the use of user-defined forward model, making it easy to test/build algorithms for novel imaging techniques.