Spatial coherence control and analysis via micromirror-based mixed-state ptychography. (13th May 2021)