Phase retrieval of real-space images from coherent diffraction data. Implements the Error-Reduction+Hybrid Input Output (ER+HIO) algorithms outlined in this paper:
Fienup, J. R. Phase retrieval algorithms: a comparison. Appl. Opt. 21, 2758-2769 (1982).
2D_phasing contains code for 2D phasing with shrinkwrap