From af51c6b17a397844c9167735e7a32ed9e995fb40 Mon Sep 17 00:00:00 2001 From: stedif <stefano.difrischia@inaf.it> Date: Fri, 1 Apr 2022 15:14:01 +0200 Subject: [PATCH] L2SS-694: replace lofar_device with beam_device --- tangostationcontrol/tangostationcontrol/devices/tilebeam.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tangostationcontrol/tangostationcontrol/devices/tilebeam.py b/tangostationcontrol/tangostationcontrol/devices/tilebeam.py index c2e087fc9..7adee9e26 100644 --- a/tangostationcontrol/tangostationcontrol/devices/tilebeam.py +++ b/tangostationcontrol/tangostationcontrol/devices/tilebeam.py @@ -219,7 +219,7 @@ class TileBeam(beam_device): @command(dtype_in=DevVarStringArray, dtype_out=DevVarDoubleArray) @DebugIt() @log_exceptions() - @only_in_states(lofar_device.DEFAULT_COMMAND_STATES) + @only_in_states(beam_device.DEFAULT_COMMAND_STATES) def HBAT_delays(self, pointing_direction: numpy.array, timestamp: datetime.datetime = None): """ Calculate the delays (in seconds) based on the pointing list and the timestamp @@ -240,7 +240,7 @@ class TileBeam(beam_device): @command(dtype_in=DevVarStringArray) @DebugIt() @log_exceptions() - @only_in_states(lofar_device.DEFAULT_COMMAND_STATES) + @only_in_states(beam_device.DEFAULT_COMMAND_STATES) def HBAT_set_pointing(self, pointing_direction: list, timestamp: datetime.datetime = None): """ Uploads beam weights based on a given pointing direction 2D array (96 tiles x 3 parameters) @@ -258,7 +258,7 @@ class TileBeam(beam_device): @command(dtype_in = DevString) @DebugIt() - @only_in_states(lofar_device.DEFAULT_COMMAND_STATES) + @only_in_states(beam_device.DEFAULT_COMMAND_STATES) def HBAT_set_pointing_for_specific_time(self, parameters: DevString = None): """ Uploads beam weights based on a given pointing direction 2D array (96 tiles x 3 parameters) -- GitLab