We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60b7c50 commit c26c370Copy full SHA for c26c370
src/ctapipe_io_lst/anyarray_dtypes.py
@@ -70,4 +70,5 @@ def parse_tib_10MHz_counter(counter):
70
71
The counter is stored using 3 uint8 values forming a 24-bit unsigned integer
72
"""
73
+ counter = counter.astype(np.uint32)
74
return counter[0] + (counter[1] << 8) + (counter[2] << 16)
0 commit comments