From 059f16f7c999c8a31064e272a2102897f417ab2e Mon Sep 17 00:00:00 2001 From: Johannes Schumann <jschumann@km3net.de> Date: Wed, 22 Jan 2020 22:36:57 +0100 Subject: [PATCH] Apply suggestion to km3io/daq.py --- km3io/daq.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/km3io/daq.py b/km3io/daq.py index 591ab65..63c245e 100644 --- a/km3io/daq.py +++ b/km3io/daq.py @@ -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) -- GitLab