diff --git a/tangostationcontrol/tangostationcontrol/devices/beam.py b/tangostationcontrol/tangostationcontrol/devices/beam.py index 8deea16d814166a54a43791fccd9911f0a782f29..a5ab7f7a62a915f3a686942436c44d09e48d1a62 100644 --- a/tangostationcontrol/tangostationcontrol/devices/beam.py +++ b/tangostationcontrol/tangostationcontrol/devices/beam.py @@ -128,13 +128,12 @@ class Beam(lofar_device): self.recv_proxy.HBAT_BF_delays_RW = HBAT_bf_delays # Record where we now point to, now that we've updated the weights. - # Only the entries within the mask have been updated: - # mask = False -> retain value, mask = True -> use new value + # Only the entries within the mask have been updated mask = self.recv_proxy.RCU_mask_RW for tile in range(96): - if mask[tile]: - self._hbat_pointing_direction[tile] = pointing_direction[tile] - self._hbat_pointing_timestamp[tile] = timestamp + if mask[tile]: + self._hbat_pointing_direction[tile] = pointing_direction[tile] + self._hbat_pointing_timestamp[tile] = timestamp # -------- # Commands