My aim is to generate the primary beam of an antenna by figuring out how to generate a dipole distribution pattern that matches a realistic dish aperture illumination function (AIF). The dipole distribution should have the same density of dipoles per unit area as the AIF at that part of the dish. How do I go about this? Thanks in advance.