From 4ce41aad9c9d174e61725dacd3592941a32ead13 Mon Sep 17 00:00:00 2001 From: Johannes Schumann <johannes.schumann@fau.de> Date: Wed, 22 Jan 2020 22:04:05 +0100 Subject: [PATCH] Removed fifo status method as it just logical or of the fifo flags --- km3io/daq.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/km3io/daq.py b/km3io/daq.py index b3ec322..a308206 100644 --- a/km3io/daq.py +++ b/km3io/daq.py @@ -38,11 +38,6 @@ def unpack_bits(value): return np.unpackbits(value).reshape(length, -1).astype(bool) -def get_fifo_status(value): - """Returns the fifo status (fifo)""" - return np.any(np.bitwise_and(value, 2**31)) - - def get_channel_flags(value): """Returns the hrv/fifo flags for the PMT channels (hrv/fifo)""" channel_bits = np.bitwise_and(value, 0x3FFFFFFF) -- GitLab