Architecture-agnostic analysis of partially coherent light with programmable photonics | Digital Library | PAMCET | PAMCET