Partially coherent beam and its applications