Spectral shifts and spectral switches of spatially and spectrally partially coherent pulsed beams in Young’s interference experiment