Skip to content
Snippets Groups Projects
Commit 059f16f7 authored by Johannes Schumann's avatar Johannes Schumann
Browse files

Apply suggestion to km3io/daq.py

parent 5cf0aecf
No related branches found
No related tags found
1 merge request!7Summaryslice status
Pipeline #7967 passed with warnings
......@@ -29,7 +29,13 @@ def get_rate(value):
def unpack_bits(value):
"""Helper to unpack bits to bool flags (little endian)"""
"""Helper to unpack bits to bool flags (little endian)
Parameters
----------
value : int32
The integer value to be parsed.
"""
value = np.array(value).astype(np.int32)
value = value.reshape(-1, 1)
value = value.view(np.uint8)
......
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