From 8998a0ca2ce78784ac82d4fb056634e42331f6e0 Mon Sep 17 00:00:00 2001 From: Johannes Schumann <jschumann@km3net.de> Date: Wed, 22 Jan 2020 22:36:42 +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 2e30ed0..22d17f4 100644 --- a/km3io/daq.py +++ b/km3io/daq.py @@ -56,7 +56,13 @@ def get_udp_max_sequence_number(value): def has_udp_trailer(value): - """Returns the UDP Trailer flag (fifo)""" + """Returns the UDP Trailer flag (fifo) + + Parameters + ---------- + value : int32 + The integer value to be parsed. + """ return np.any(np.bitwise_and(value, np.left_shift(1, 31))) -- GitLab