pyrex.AntennaSystem.set_orientation¶
-
AntennaSystem.
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.