pyrex.custom.ara.PhasedArrayString.set_positions¶
-
PhasedArrayString.
set_positions
(x, y, antennas_per_string=10, antenna_separation=1, lowest_antenna=-180, antenna_type=<class 'pyrex.custom.ara.antenna.VpolAntenna'>)¶ Generates antenna positions along the string.
- Parameters
- xfloat
Cartesian x-position (m) of the string.
- yfloat
Cartesian y-position (m) of the string.
- antennas_per_stringfloat, optional
Total number of antennas to be placed on the string.
- antenna_separationfloat or list of float, optional
The vertical separation (m) of antennas on the string. If
float
, all antennas are separated by the same constant value. Iflist
, the separations in the list are the separations of neighboring antennas starting from the lowest up to the highest.- lowest_antennafloat, optional
The Cartesian z-position (m) of the lowest antenna on the string.
- antenna_typeoptional
The class to be used to create the antenna objects.