diff --git a/SDP/SDP/SDP.py b/SDP/SDP/SDP.py index c096a0082a507e24e5bfe84961a0a77a79bcbd48..f76db083c62ba439e010d7d04459e55cd068a368 100644 --- a/SDP/SDP/SDP.py +++ b/SDP/SDP/SDP.py @@ -261,8 +261,12 @@ class SDP(Device): def read_fpga_weights_R(self): """Return the fpga_weights_R attribute.""" value = numpy.array(self.attribute_mapping["fpga_weights_R"].get_value()) - fpgas = numpy.array(numpy.split(value, indices_or_sections = 16)) - self._fpga_weights_R = numpy.array(numpy.split(fpgas, indices_or_sections = 12)) + # ATTENTION + # Fix me! + # This needs to be turned into a 3d-array of 16x12x488 + #fpgas = numpy.array(numpy.split(value, indices_or_sections = 16)) + #self._fpga_weights_R = numpy.array(numpy.split(fpgas, indices_or_sections = 12)) + self._fpga_weights_R = numpy.array(value) return self._fpga_weights_R @only_when_on