A technique for the determination of the radiation pattern of a partially coherent aperture