PyREx

pyrex.custom.arianna.antenna.ARIANNAAntenna.directional_response

ARIANNAAntenna.directional_response(theta, phi, polarization)

Generate the (complex) frequency-dependent directional response.

For given angles and polarization direction, use the model of the directional and polarization gains of the antenna to generate a function for the interpolated response of the antenna with respect to frequency.

Parameters
thetafloat

Polar angle (radians) from which a signal is arriving.

phifloat

Azimuthal angle (radians) from which a signal is arriving.

polarizationarray_like

Normalized polarization vector in the antenna coordinate system.

Returns
function

A function which returns complex-valued voltage gains for given frequencies, using the values of incoming angle and polarization.

PyREx

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

Navigation