diff --git a/km3io/daq.py b/km3io/daq.py index 9ca2d7fabef563b2f90ed7179648a35c9ae1672e..dd314f00834abdbc7c913013f8c2fa4fdc7e1bf1 100644 --- a/km3io/daq.py +++ b/km3io/daq.py @@ -45,7 +45,13 @@ def unpack_bits(value): def get_channel_flags(value): - """Returns the hrv/fifo flags for the PMT channels (hrv/fifo)""" + """Returns the hrv/fifo flags for the PMT channels (hrv/fifo) + + Parameters + ---------- + value : int32 + The integer value to be parsed. + """ channel_bits = np.bitwise_and(value, 0x3FFFFFFF) flags = unpack_bits(channel_bits) return np.flip(flags, axis=1)[:, :31]