Skip to content
Snippets Groups Projects
Commit cbda93d0 authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-731: Add an easier usable variant to Pointing_direction_R

parent de330175
No related branches found
No related tags found
1 merge request!319Resolve L2SS-731 "More useful dashboards"
...@@ -63,6 +63,11 @@ class TileBeam(beam_device): ...@@ -63,6 +63,11 @@ class TileBeam(beam_device):
dtype=((numpy.str,),), max_dim_x=3, max_dim_y=96, dtype=((numpy.str,),), max_dim_x=3, max_dim_y=96,
fget=lambda self: self._pointing_direction_rw) fget=lambda self: self._pointing_direction_rw)
Pointing_direction_str_R = attribute(access=AttrWriteType.READ,
doc='Pointing direction as a formatted string',
dtype=(numpy.str,), max_dim_x=96,
fget=lambda self: ["{0} ({1}, {2})".format(*x) for x in self._pointing_direction_r])
Pointing_timestamp_R = attribute(access=AttrWriteType.READ, Pointing_timestamp_R = attribute(access=AttrWriteType.READ,
dtype=(numpy.double,), max_dim_x=96, dtype=(numpy.double,), max_dim_x=96,
fget=lambda self: self._pointing_timestamp_r) fget=lambda self: self._pointing_timestamp_r)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment