Skip to content
Snippets Groups Projects

Summaryslice status

Merged Johannes Schumann requested to merge summaryslice_status into master
All threads resolved!
1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
+ 3
0
@@ -27,6 +27,9 @@ def get_rate(value):
@@ -27,6 +27,9 @@ def get_rate(value):
else:
else:
return MINIMAL_RATE_HZ * np.exp(value * RATE_FACTOR)
return MINIMAL_RATE_HZ * np.exp(value * RATE_FACTOR)
 
def get_number_udp_packets(value):
 
"""Return the number of received UDP packets based on the dq_status value"""
 
return value & 0x7FFF
class DAQReader:
class DAQReader:
"""Reader for DAQ ROOT files"""
"""Reader for DAQ ROOT files"""
Loading