summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-01-23 10:34:40 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-01-23 10:34:40 +0100
commit2eca83abbf57f3dfad407932e25d389b906c10a4 (patch)
treea762a9315b987004b239c5203963bf29e811d4b8
parent40ca2394606324c763dca61f71c0cf8224b4ddc2 (diff)
downloaddabmod-2eca83abbf57f3dfad407932e25d389b906c10a4.tar.gz
dabmod-2eca83abbf57f3dfad407932e25d389b906c10a4.tar.bz2
dabmod-2eca83abbf57f3dfad407932e25d389b906c10a4.zip
DPDCE: Fix progress bar jumping back
-rwxr-xr-xpython/dpdce.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/dpdce.py b/python/dpdce.py
index 5b308c4..89b01c4 100755
--- a/python/dpdce.py
+++ b/python/dpdce.py
@@ -237,7 +237,7 @@ def engine_worker():
extStat = ExtractStatistic(c, peak_estimated)
with lock:
- results['stateprogress'] += 5
+ results['stateprogress'] += 2
# Extract usable data from measurement
tx, rx, phase_diff, n_per_bin = extStat.extract(txframe_aligned, rxframe_aligned)
@@ -249,7 +249,7 @@ def engine_worker():
with lock:
results['statplot'] = "dpd/" + plot_file
- results['stateprogress'] += 5
+ results['stateprogress'] += 2
results['summary'] = ["Captured {} samples".format(len(txframe_aligned)),
"TX/RX median: {} / {}".format(tx_median, rx_median),
extStat.get_bin_info(),