Skip to content
Snippets Groups Projects
Commit 66d0854e authored by Stefano Di Frischia's avatar Stefano Di Frischia
Browse files

L2SS-881: rename further HBAT entries

parent 4295ec97
No related branches found
No related tags found
1 merge request!410Resolve L2SS-881 "Add lba support"
...@@ -46,12 +46,12 @@ The antennas represented by the antenna field are selected by the following prop ...@@ -46,12 +46,12 @@ The antennas represented by the antenna field are selected by the following prop
:type: ``str[]`` :type: ``str[]``
:Power_to_RECV_mapping: Pairs of numbers ``(recv_idx, ant_idx)`` describing the inputs on which the HBAT *power* is connected. The ``recv_idx`` is the index in ``RECV_devices``, starting at 1. The ``ant_idx`` is the absolute index of the antenna in the ``RECV`` device. A value of ``-1`` means the antenna is not connected at all. :Power_to_RECV_mapping: Pairs of numbers ``(recv_idx, ant_idx)`` describing the inputs on which the Antenna *power* is connected. The ``recv_idx`` is the index in ``RECV_devices``, starting at 1. The ``ant_idx`` is the absolute index of the antenna in the ``RECV`` device. A value of ``-1`` means the antenna is not connected at all.
:type: ``int32[]`` :type: ``int32[]``
:shape: ``int32[][2]`` :shape: ``int32[][2]``
:Control_to_RECV_mapping: Pairs of numbers ``(recv_idx, ant_idx)`` describing the inputs on which the HBAT *control* is connected. The ``recv_idx`` is the index in ``RECV_devices``, starting at 1. The ``ant_idx`` is the absolute index of the antenna in the ``RECV`` device. A value of ``-1`` means the antenna is not connected at all. :Control_to_RECV_mapping: Pairs of numbers ``(recv_idx, ant_idx)`` describing the inputs on which the Antenna *control* is connected. The ``recv_idx`` is the index in ``RECV_devices``, starting at 1. The ``ant_idx`` is the absolute index of the antenna in the ``RECV`` device. A value of ``-1`` means the antenna is not connected at all.
Positions Positions
"""""""""""""""""""" """"""""""""""""""""
......
...@@ -19,12 +19,12 @@ from tangostationcontrol.test.devices import device_base ...@@ -19,12 +19,12 @@ from tangostationcontrol.test.devices import device_base
class TestAntennaToRecvMapper(base.TestCase): class TestAntennaToRecvMapper(base.TestCase):
# A mapping where HBATs are all not mapped to power RCUs # A mapping where Antennas are all not mapped to power RCUs
POWER_NOT_CONNECTED = [[-1, -1]] * 48 POWER_NOT_CONNECTED = [[-1, -1]] * 48
# A mapping where HBATs are all not mapped to control RCUs # A mapping where Antennas are all not mapped to control RCUs
CONTROL_NOT_CONNECTED = [[-1, -1]] * 48 CONTROL_NOT_CONNECTED = [[-1, -1]] * 48
# A mapping where first two HBATs are mapped on the first Receiver. # A mapping where first two Antennas are mapped on the first Receiver.
# The first HBAT control line on RCU 1 and the second HBAT control line on RCU 0. # The first Antenna control line on RCU 1 and the second Antenna control line on RCU 0.
CONTROL_HBA_0_AND_1_ON_RCU_1_AND_0_OF_RECV_1 = [[1, 1], [1, 0]] + [[-1, -1]] * 46 CONTROL_HBA_0_AND_1_ON_RCU_1_AND_0_OF_RECV_1 = [[1, 1], [1, 0]] + [[-1, -1]] * 46
def test_ant_read_mask_r_no_mapping(self): def test_ant_read_mask_r_no_mapping(self):
...@@ -340,12 +340,12 @@ class TestAntennafieldDevice(device_base.DeviceTestCase): ...@@ -340,12 +340,12 @@ class TestAntennafieldDevice(device_base.DeviceTestCase):
AT_PROPERTIES = {'OPC_Server_Name': 'example.com', 'OPC_Server_Port': 4840, 'OPC_Time_Out': 5.0, AT_PROPERTIES = {'OPC_Server_Name': 'example.com', 'OPC_Server_Port': 4840, 'OPC_Time_Out': 5.0,
'Antenna_Field_Reference_ITRF' : [3.0, 3.0, 3.0], 'Antenna_Field_Reference_ETRS' : [7.0, 7.0, 7.0]} 'Antenna_Field_Reference_ITRF' : [3.0, 3.0, 3.0], 'Antenna_Field_Reference_ETRS' : [7.0, 7.0, 7.0]}
# A mapping where HBATs are all not mapped to power RCUs # A mapping where Antennas are all not mapped to power RCUs
POWER_NOT_CONNECTED = [[-1, -1]] * 48 POWER_NOT_CONNECTED = [[-1, -1]] * 48
# A mapping where HBATs are all not mapped to control RCUs # A mapping where Antennas are all not mapped to control RCUs
CONTROL_NOT_CONNECTED = [[-1, -1]] * 48 CONTROL_NOT_CONNECTED = [[-1, -1]] * 48
# A mapping where first two HBATs are mapped on the first Receiver. # A mapping where first two Antennas are mapped on the first Receiver.
# The first HBAT control line on RCU 1 and the second HBAT control line on RCU 0. # The first Antenna control line on RCU 1 and the second Antenna control line on RCU 0.
CONTROL_HBA_0_AND_1_ON_RCU_1_AND_0_OF_RECV_1 = [[1, 1], [1, 0]] + [[-1, -1]] * 46 CONTROL_HBA_0_AND_1_ON_RCU_1_AND_0_OF_RECV_1 = [[1, 1], [1, 0]] + [[-1, -1]] * 46
def setUp(self): def setUp(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment