summaryrefslogtreecommitdiffstats
path: root/dpd/main.py
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-09-15 14:04:20 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-09-15 14:04:42 +0200
commitbf608feeb2b7819b1bff5b1880af6c4903e847e5 (patch)
treedd435dcce2c647ffc509ce090727e09ff55e06a2 /dpd/main.py
parentb87f3a7babdeabe605d8192328bce669b52cfd7a (diff)
downloaddabmod-bf608feeb2b7819b1bff5b1880af6c4903e847e5.tar.gz
dabmod-bf608feeb2b7819b1bff5b1880af6c4903e847e5.tar.bz2
dabmod-bf608feeb2b7819b1bff5b1880af6c4903e847e5.zip
Add missing LUT model, fix incorrect usage in main.py
Diffstat (limited to 'dpd/main.py')
-rwxr-xr-xdpd/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/dpd/main.py b/dpd/main.py
index fcf1989..b4355c3 100755
--- a/dpd/main.py
+++ b/dpd/main.py
@@ -173,8 +173,8 @@ while i < num_iter:
# Model
elif state == "model":
- dpddata = model_poly.get_dpd_data(tx, rx, phase_diff)
- del extStat
+ dpddata = model.train(tx, rx, phase_diff)
+ dpddata = model.get_dpd_data()
extStat = ExtractStatistic.ExtractStatistic(c, plot=True)
state = "adapt"