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

L2SS-694: replace lofar_device with beam_device

parent 352fca27
No related branches found
No related tags found
1 merge request!289Resolve L2SS-694 "Common beam functionality"
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment