Hyde, Milo MATLAB R2018b generalized complex screen simulation code MATLAB simulation code that accompanies "Stochastic complex transmittance screens for synthesizing general partially coherent sources" Coherence and Statistical Optics 2020-01-13
    https://opticapublishing.figshare.com/articles/software/MATLAB_R2018b_generalized_complex_screen_simulation_code/10058318
10.6084/m9.figshare.10058318.v1