I work on a program that simulates the wave propagation of high frequency electromagnetic waves (2.4 or 5 GHz Bands) in 3D. I use a ray launching approach, where the emitted rays approximate the electromagnetic waves, which carry the transmission power of a particular wave in dBm as an attribute. The user is able to import a csv list which holds the angles of the vertical and horizontal radiation pattern (polar diagram) and the corresponding values for the actual transmitted power from the antenna in dBm.
My question is now, how can I calculate the values in that list in respect to a given radiation pattern of an antenna? Or in other words, how can I calculate the real transmitted power of an antenna in respect to a given radiation pattern in the horizontal and vertical planes?
Thanks in advance and sorry for the bad English.
Update 1
The picture below shows an example for a radiation pattern that I want to use. With this pattern and the transmitting power of the transmitting antenna (In the case of 2.4 GHz Wireless LAN thats 20 dBm respectively 100 mW) I want to calculate the real outgoing power of the antenna in respect to the given angles (λ or φ) shown in the radiation pattern.
So my calculation would look something like this(?):
Poutgoing = 20 dBm * PdirectionDependentGainFactor(λ)
source: http://www.mpantenna.com/antenna-gain-and-radiation-patterns/