However, this requires careful optimization of photon energy, illumination function, and phase retrieval algorithms, as detailed further below.