Phase analysis for partially coherent light propagating through an optimized aperture in a synchrotron beamline.