diff --git a/km3io/daq.py b/km3io/daq.py index 8fcc7ffe822bd7a85da3af0a62fa936bd1fcb727..bdeff6a68dd80a1c4777fe5a5602d53743bbd3e2 100644 --- a/km3io/daq.py +++ b/km3io/daq.py @@ -31,7 +31,7 @@ def get_number_udp_packets(value): """Return the number of received UDP packets based on the dq_status value""" return np.bitwise_and(value & 0x7FFF) -def has_udp_trailer(value) +def has_udp_trailer(value): """Returns the UDP Trailer flag based on on the fifo field value""" return np.any(np.bitwise_and(value, np.leftshift(1,31)))