pyrex.custom.ara.PhasedArrayString¶
-
class
pyrex.custom.ara.PhasedArrayString(x, y, antennas_per_string=10, antenna_separation=1, lowest_antenna=-180, antenna_type=<class 'pyrex.custom.ara.antenna.VpolAntenna'>)¶ Phased string of closely-packed antennas.
Sets the positions of antennas on string based on the parameters. Once the antennas have been built with
build_antennas, the object can be directly iterated over to iterate over the antennas (as if the object were just a list of the antennas).- 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.
- Raises
- ValueError
If
test_antenna_positionsisTrueand an antenna is found to be above the ice surface.
See also
pyrex.custom.ara.HpolAntennaARA Hpol (“quad-slot”) antenna system with front-end processing.
pyrex.custom.ara.VpolAntennaARA Vpol (“bicone” or “birdcage”) antenna system with front-end processing.
Notes
This class is designed to be the lowest subset level of a detector. It can (and should) be used for the subsets of some other
Detectorsubclass to build up a full detector. Then when its “parent” is iterated, the instances of this class will be iterated as though they were all part of one flat list.- Attributes
- antenna_type
The class to be used to create the antenna objects.
- antenna_positionslist
List (potentially with sub-lists) of the positions of the antennas generated by the
set_positionsmethod.- subsetslist
List of the antenna or detector objects which make up the detector.
- test_antenna_positionsboolean
Class attribute for whether or not an error should be raised if antenna positions are found above the surface of the ice (where simulation behavior is ill-defined). Defaults to
True.
Methods
build_antennas(power_threshold[, …])Creates antenna objects at the set antenna positions.
clear([reset_noise])Reset the detector to an empty state.
set_positions(x, y[, antennas_per_string, …])Generates antenna positions along the string.
triggered(beam_threshold[, delays, angles, …])Check if the string is triggered based on its current state.
