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

L2SS-244: Fixed name of BST field

parent 8c34f250
No related branches found
No related tags found
1 merge request!56L2SS-244: Expose the SSTs in MPs
......@@ -285,7 +285,7 @@ class BSTPacket(StatisticsPacket):
The following fields are exposed as properties & functions.
bst_beamlet_index: the number of the beamlet for which this packet holds statistics.
beamlet_index: the number of the beamlet for which this packet holds statistics.
"""
def __init__(self, packet):
......@@ -298,12 +298,12 @@ class BSTPacket(StatisticsPacket):
def unpack_data_id(self):
super().unpack_data_id()
self.bst_beamlet_index = get_bit_value(self.data_id, 0, 15)
self.beamlet_index = get_bit_value(self.data_id, 0, 15)
def header(self):
header = super().header()
header["data_id"]["bst_beamlet_index"] = self.bst_beamlet_index
header["data_id"]["beamlet_index"] = self.beamlet_index
return header
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment