@@ -129,7 +129,7 @@ class AntennaField(lofar_device):
...
@@ -129,7 +129,7 @@ class AntennaField(lofar_device):
doc="Whether to provide power to each antenna (False for noise sources)",
doc="Whether to provide power to each antenna (False for noise sources)",
dtype='DevVarBooleanArray',
dtype='DevVarBooleanArray',
mandatory=False,
mandatory=False,
default_value=numpy.array([False]*MAX_INPUTS)
default_value=numpy.array([False]*MAX_ANTENNA)
)
)
# ----- Position information
# ----- Position information
...
@@ -175,7 +175,7 @@ class AntennaField(lofar_device):
...
@@ -175,7 +175,7 @@ class AntennaField(lofar_device):
doc='Rotation of each tile in the PQ plane ("horizontal") in degrees.',
doc='Rotation of each tile in the PQ plane ("horizontal") in degrees.',
dtype='DevVarFloatArray',
dtype='DevVarFloatArray',
mandatory=False,
mandatory=False,
default_value=[0.0]*MAX_INPUTS
default_value=[0.0]*MAX_ANTENNA
)
)
PQR_to_ETRS_rotation_matrix=device_property(
PQR_to_ETRS_rotation_matrix=device_property(
...
@@ -200,7 +200,7 @@ class AntennaField(lofar_device):
...
@@ -200,7 +200,7 @@ class AntennaField(lofar_device):
Antenna_to_SDP_Mapping=device_property(
Antenna_to_SDP_Mapping=device_property(
dtype=(numpy.int32,),
dtype=(numpy.int32,),
doc='The mapping of Antennas to FPGA input pairs. Each FPGA can handle 6 inputs, and SDP has 16 FPGAs. Each antenna is represented with a (fpga, input) value pair. The array is flattened, so must be reshaped upon use. An input=-1 means the antenna is unconnected.',
doc='The mapping of Antennas to FPGA input pairs. Each FPGA can handle 6 inputs, and SDP has 16 FPGAs. Each antenna is represented with a (fpga, input) value pair. The array is flattened, so must be reshaped upon use. An input=-1 means the antenna is unconnected.',
@@ -216,14 +216,14 @@ class AntennaField(lofar_device):
...
@@ -216,14 +216,14 @@ class AntennaField(lofar_device):
dtype=(numpy.int32,),
dtype=(numpy.int32,),
doc='The mapping of Antenna power lines to RECV mapping. Each RECV can handle 96 inputs. The Antenna number is the index and the value shows to which receiver device it is connected and on which input. The first integer is the input. The second integer is the RECV id. Example: [0, 3] = first receiver of property RECV_devices with input 3. -1 means that the Antenna is not connected. The property is stored in a one dimensional structure. It needs to be reshaped to a list of lists of two items.',
doc='The mapping of Antenna power lines to RECV mapping. Each RECV can handle 96 inputs. The Antenna number is the index and the value shows to which receiver device it is connected and on which input. The first integer is the input. The second integer is the RECV id. Example: [0, 3] = first receiver of property RECV_devices with input 3. -1 means that the Antenna is not connected. The property is stored in a one dimensional structure. It needs to be reshaped to a list of lists of two items.',
mandatory=False,
mandatory=False,
default_value=[-1]*MAX_INPUTS*2
default_value=[-1]*MAX_ANTENNA*2
)
)
Control_to_RECV_mapping=device_property(
Control_to_RECV_mapping=device_property(
dtype=(numpy.int32,),
dtype=(numpy.int32,),
doc='The mapping of Antenna control lines to RECV mapping. Each RECV can handle 96 inputs. The Antenna number is the index and the value shows to which receiver device it is connected and on which input. The first integer is the input. The second interger is the RECV id. Example: [1, 3] = STAT/RECV/1 with input 3. -1 means that the Antenna is not connected. The property is stored in a one dimensional structure. It needs to be reshaped to a list of lists of two items.',
doc='The mapping of Antenna control lines to RECV mapping. Each RECV can handle 96 inputs. The Antenna number is the index and the value shows to which receiver device it is connected and on which input. The first integer is the input. The second interger is the RECV id. Example: [1, 3] = STAT/RECV/1 with input 3. -1 means that the Antenna is not connected. The property is stored in a one dimensional structure. It needs to be reshaped to a list of lists of two items.',
mandatory=False,
mandatory=False,
default_value=[-1]*MAX_INPUTS*2
default_value=[-1]*MAX_ANTENNA*2
)
)
RECV_devices=device_property(
RECV_devices=device_property(
...
@@ -237,48 +237,48 @@ class AntennaField(lofar_device):
...
@@ -237,48 +237,48 @@ class AntennaField(lofar_device):