pyrex.antenna.DipoleAntenna.directional_gain¶
-
DipoleAntenna.
directional_gain
(theta, phi)¶ Calculate the (complex) directional gain of the antenna.
Power gain of dipole antenna goes as sin(theta)^2, so electric field gain goes as sin(theta).
- Parameters
- thetafloat
Polar angle (radians) from which a signal is arriving.
- phifloat
Azimuthal angle (radians) from which a signal is arriving.
- Returns
- complex
Complex gain in voltage for the given incoming angles.