Reconstruction of discontinuous light-phase functions