PyREx

pyrex.antenna.Antenna.directional_gain

Antenna.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.

PyREx

A Python package for simulation of neutrinos and radio antennas in ice. Version 1.10.0

Navigation