diff --git a/CDB/integrations/recvcluster_ConfigDb.json b/CDB/integrations/recvcluster_ConfigDb.json index 23659cb18c4dea5badc2c5c4ff5201aba94cde36..71f8d94745d2d44616742c9776587697e060d008 100644 --- a/CDB/integrations/recvcluster_ConfigDb.json +++ b/CDB/integrations/recvcluster_ConfigDb.json @@ -117,7 +117,7 @@ "24", "24" ], - "HBAT_PQR_to_ETRS_rotation_matrix": [ + "PQR_to_ETRS_rotation_matrix": [ "-0.1195951054", "-0.7919544517", "0.5987530018", " 0.9928227484", "-0.0954186800", "0.0720990002", " 0.0000330969", " 0.6030782884", "0.7976820024" @@ -229,7 +229,7 @@ "24", "24" ], - "HBAT_PQR_to_ETRS_rotation_matrix": [ + "PQR_to_ETRS_rotation_matrix": [ "-0.1195951054", "-0.7919544517", "0.5987530018", " 0.9928227484", "-0.0954186800", "0.0720990002", " 0.0000330969", " 0.6030782884", "0.7976820024" @@ -341,7 +341,7 @@ "24", "24" ], - "HBAT_PQR_to_ETRS_rotation_matrix": [ + "PQR_to_ETRS_rotation_matrix": [ "-0.1195951054", "-0.7919544517", "0.5987530018", " 0.9928227484", "-0.0954186800", "0.0720990002", " 0.0000330969", " 0.6030782884", "0.7976820024" @@ -453,7 +453,7 @@ "24", "24" ], - "HBAT_PQR_to_ETRS_rotation_matrix": [ + "PQR_to_ETRS_rotation_matrix": [ "-0.1195951054", "-0.7919544517", "0.5987530018", " 0.9928227484", "-0.0954186800", "0.0720990002", " 0.0000330969", " 0.6030782884", "0.7976820024" diff --git a/CDB/stations/DTS_ConfigDb.json b/CDB/stations/DTS_ConfigDb.json index 84836d8e1c33e9619ff0b6a89ffa07a28f3b5bd3..21941beaa1056f2a28360b9f055e91504bedd3ef 100644 --- a/CDB/stations/DTS_ConfigDb.json +++ b/CDB/stations/DTS_ConfigDb.json @@ -181,7 +181,7 @@ "45.73", "54.40" ], - "HBAT_PQR_to_ETRS_rotation_matrix": [ + "PQR_to_ETRS_rotation_matrix": [ "-0.11660087", "-0.79095632", "0.60065992", " 0.99317077", "-0.09529842", "0.06730545", " 0.00400627", " 0.60440575", "0.79666658" diff --git a/CDB/stations/DTS_Outside_ConfigDb.json b/CDB/stations/DTS_Outside_ConfigDb.json index 07ab30786c114b735b9b3660eac74a1d71080da1..c2ed04867ab540dc1ca913aac6680f8bd2019dbf 100644 --- a/CDB/stations/DTS_Outside_ConfigDb.json +++ b/CDB/stations/DTS_Outside_ConfigDb.json @@ -213,7 +213,7 @@ "45.73", "54.40" ], - "HBAT_PQR_to_ETRS_rotation_matrix": [ + "PQR_to_ETRS_rotation_matrix": [ "-0.11660087","-0.79095632","0.60065992", " 0.99317077","-0.09529842","0.06730545", " 0.00400627"," 0.60440575","0.79666658" diff --git a/CDB/stations/dummy_positions_ConfigDb.json b/CDB/stations/dummy_positions_ConfigDb.json index 44f80657f8bd28a5dd9a885a7808c262d31b0d1c..7403bc8bb43ae1c4b9495b12bba38f8bf6e99a9d 100644 --- a/CDB/stations/dummy_positions_ConfigDb.json +++ b/CDB/stations/dummy_positions_ConfigDb.json @@ -208,7 +208,7 @@ "24", "24" ], - "HBAT_PQR_to_ETRS_rotation_matrix": [ + "PQR_to_ETRS_rotation_matrix": [ "-0.1195951054", "-0.7919544517", "0.5987530018", " 0.9928227484", "-0.0954186800", "0.0720990002", " 0.0000330969", " 0.6030782884", "0.7976820024" diff --git a/tangostationcontrol/docs/source/devices/antennafield.rst b/tangostationcontrol/docs/source/devices/antennafield.rst index faede195aec38828f2c1d1d6b71d2bdb928ef6eb..abc7cc8fe8889056e5a94dff32c3b84b6ed8fad3 100644 --- a/tangostationcontrol/docs/source/devices/antennafield.rst +++ b/tangostationcontrol/docs/source/devices/antennafield.rst @@ -99,7 +99,7 @@ These facts allow us to use the following information to calculate the absolute :type: ``float[96]`` -:recv.HBAT_PQR_to_ETRS_rotation_matrix: (property) The 3D rotation matrix to convert PQR coordinates into relative ETRS coordinates. +:recv.PQR_to_ETRS_rotation_matrix: (property) The 3D rotation matrix to convert PQR coordinates into relative ETRS coordinates. :type: ``float[3][3]`` diff --git a/tangostationcontrol/tangostationcontrol/devices/antennafield.py b/tangostationcontrol/tangostationcontrol/devices/antennafield.py index e3289b9b7df79719cfdf56e3508a66bcaeb869db..c8adf393a584f74eb077442dac666db7df0569d5 100644 --- a/tangostationcontrol/tangostationcontrol/devices/antennafield.py +++ b/tangostationcontrol/tangostationcontrol/devices/antennafield.py @@ -170,7 +170,7 @@ class AntennaField(lofar_device): default_value = [0.0] * MAX_NUMBER_OF_HBAT ) - HBAT_PQR_to_ETRS_rotation_matrix = device_property( + PQR_to_ETRS_rotation_matrix = device_property( doc="Field-specific rotation matrix to convert PQR offsets to ETRS/ITRF offsets.", dtype='DevVarFloatArray', mandatory=False, @@ -336,7 +336,7 @@ class AntennaField(lofar_device): This takes the relative offsets between the elements in the tiles as described in HBAT_base_antenna_offsets. These offsets are in PQR space, which is the plane of the station. The tiles are rotated locally in this space according to the HBAT_PQR_rotation_angles_deg, - and finally translated into global ETRS coordinates using the HBAT_PQR_to_ETRS_rotation_matrix. + and finally translated into global ETRS coordinates using the PQR_to_ETRS_rotation_matrix. The relative ITRF offsets are the same as relative ETRS offsets. @@ -346,7 +346,7 @@ class AntennaField(lofar_device): # the relative offsets between the elements is fixed in HBAT_base_antenna_offsets base_antenna_offsets = numpy.array(self.HBAT_base_antenna_offsets).reshape(NUMBER_OF_ELEMENTS_PER_TILE,3) - PQR_to_ETRS_rotation_matrix = numpy.array(self.HBAT_PQR_to_ETRS_rotation_matrix).reshape(3,3) + PQR_to_ETRS_rotation_matrix = numpy.array(self.PQR_to_ETRS_rotation_matrix).reshape(3,3) # each tile has its own rotation angle, resulting in different offsets per tile all_offsets = numpy.array(