Maximum-likelihood refinement for coherent diffractive imaging | Synapse