pyrex.custom.ara.ARAString.build_antennas¶
-
ARAString.
build_antennas
(power_threshold, amplification=1, naming_scheme=<function ARAString.<lambda>>, class_scheme=<function ARAString.<lambda>>, noisy=True, unique_noise_waveforms=10)¶ Creates antenna objects at the set antenna positions.
The antennas built are ARA Hpol or Vpol antennas, as determined by the class_scheme.
- Parameters
- power_thresholdfloat
Power threshold for antenna trigger conditions.
- amplificationfloat, optional
Amplification to be applied to antenna signals.
- naming_schemefunction, optional
Function used to assign the
name
parameter for each antenna. Takes the index of the antenna on the string and the antenna object itself as parameters and should return a string for the antenna’s name. By default names antennas “Hpol_X” or “Vpol_X” where “X” is the antenna’s index.- class_schemefunction, optional
Function used to decide the class to use for each antenna. Takes the index of the antenna on the string as a parameter and should return which class to use to create the antenna object. By default alternates VpolAntenna and HpolAntenna going up the string.
- noisyboolean, optional
Whether or not the antenna should add noise to incoming signals.
- unique_noise_waveformsint, optional
The number of expected noise waveforms needed for each received signal to have its own noise (per antenna).