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

Apply suggestion to km3io/daq.py

parent 9a76dcbe
No related branches found
No related tags found
1 merge request!7Summaryslice status
Pipeline #7965 passed with warnings
......@@ -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)))
......
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