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

L2SS-523: fix bugs

parent 23f5a2a6
No related branches found
No related tags found
1 merge request!227L2SS-523 "Add signal delay calibration table to BEAM"
......@@ -105,8 +105,7 @@ class Beam(lofar_device):
return delays
@staticmethod
def _calculate_HBAT_bf_delays(delays: numpy.ndarray):
def _calculate_HBAT_bf_delays(self,delays: numpy.ndarray):
"""
Helper function that converts a signal path delay (in seconds) to an analog beam weight,
which is a value per tile per dipole per polarisation.
......@@ -140,7 +139,7 @@ class Beam(lofar_device):
for rcu in range(96):
if mask[rcu]:
self._hbat_pointing_direction[rcu] = pointing_direction[rcu]
self._hbat_pointing_timestamp[rcu] = timestamp
self._hbat_pointing_timestamp[rcu] = timestamp.timestamp()
# --------
# Commands
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment