diff --git a/tangostationcontrol/tangostationcontrol/devices/beam.py b/tangostationcontrol/tangostationcontrol/devices/beam.py index 62e9be3acf513a2bba3b7ead6b9217a10c2acbdc..bf6546ad8e78d291655bca1aeaadac460e0727c7 100644 --- a/tangostationcontrol/tangostationcontrol/devices/beam.py +++ b/tangostationcontrol/tangostationcontrol/devices/beam.py @@ -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