Digital phase correction of a partially coherent sparse aperture system