Phase retrieval in crystallography and optics | Synapse