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

Removed fifo status method as it just logical or of the fifo flags

parent de36e205
No related branches found
No related tags found
1 merge request!7Summaryslice status
Pipeline #7962 failed
......@@ -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)
......
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