Well-posed well-conditioned phase retrieval technique using a known reference source