Measuring, processing, and generating partially coherent light with self-configuring optics | Synapse