The irradiance of partially polarized beams in a scalar treatment