PyREx

pyrex.custom.ara.antenna.HpolAntenna.set_orientation

HpolAntenna.set_orientation(z_axis=(0, 0, 1), x_axis=(1, 0, 0))

Sets the orientation of the antenna system.

Sets up the z-axis and the x-axis of the antenna according to the given parameters. Fails if the z-axis and x-axis aren’t perpendicular.

Parameters
z_axisarray_like, optional

Vector direction of the z-axis of the antenna.

x_axisarray_like, optional

Vector direction of the x-axis of the antenna.

Raises
ValueError

If the z-axis and x-axis aren’t perpendicular.

PyREx

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

Navigation