pyrex.custom.arianna.antenna.ARIANNAAntenna.directional_gain¶
-
ARIANNAAntenna.
directional_gain
(theta, phi)¶ Calculate the (complex) directional gain of the antenna.
This function defines the directionality of the antenna: Given theta and phi in the antenna’s coordinate system, what is the (complex) gain? It is expected to be overridden in subclasses, as for the base class it simply returns 1 for any theta and phi.
- 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.