Update soapy_power_bin format to include both acquisition start time and stop time
This commit is contained in:
parent
9de4c25269
commit
e0f7202ff9
@ -132,7 +132,8 @@ class PowerThread(BasePowerThread):
|
||||
"""Parse data from soapy_power"""
|
||||
header, y_axis = data
|
||||
|
||||
timestamp = header.timestamp
|
||||
time_start = header.time_start
|
||||
time_stop = header.time_stop
|
||||
start_freq = header.start
|
||||
stop_freq = header.stop
|
||||
step = header.step
|
||||
@ -146,7 +147,7 @@ class PowerThread(BasePowerThread):
|
||||
self.min_freq = start_freq
|
||||
|
||||
if start_freq == self.min_freq:
|
||||
self.databuffer = {"timestamp": timestamp,
|
||||
self.databuffer = {"timestamp": time_stop,
|
||||
"x": list(x_axis),
|
||||
"y": list(y_axis)}
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user