aboutsummaryrefslogtreecommitdiffstats
path: root/python/dpdce.py
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-12-22 16:36:18 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-12-22 16:36:18 +0100
commit5506c7bc287e23836b953d732829b48c997b878a (patch)
tree1648c3a1fde0519692315c33baefb4105bb8a120 /python/dpdce.py
parent00b2423a298887fefc77c24e8067e621878cc108 (diff)
downloaddabmod-5506c7bc287e23836b953d732829b48c997b878a.tar.gz
dabmod-5506c7bc287e23836b953d732829b48c997b878a.tar.bz2
dabmod-5506c7bc287e23836b953d732829b48c997b878a.zip
GUI: Update Adapt to use zmqrc lib
Diffstat (limited to 'python/dpdce.py')
-rwxr-xr-xpython/dpdce.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/dpdce.py b/python/dpdce.py
index 3b294eb..6c373fd 100755
--- a/python/dpdce.py
+++ b/python/dpdce.py
@@ -310,7 +310,9 @@ def engine_worker():
txframe_aligned, tx_ts, rxframe_aligned, rx_ts, rx_median, tx_median = meas.get_samples()
# Store all settings for pre-distortion, tx and rx
- adapt.dump()
+ utctime = datetime.datetime.utcnow()
+ dump_file = "adapt_{}.pkl".format(utctime.strftime("%s"))
+ adapt.dump(os.path.join(plot_path, dump_file))
# Collect logging data
off = symbol_align.calc_offset(txframe_aligned)