summaryrefslogtreecommitdiffstats
path: root/dpd/apply_adapt_dumps.py
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-09-29 18:50:41 +0200
committerandreas128 <Andreas>2017-09-29 18:50:41 +0200
commit5e3ca125bfc56d31b9c9ef819eab9171b73b7333 (patch)
tree297d400f754742faf6bfc4fc7eff9858163c845c /dpd/apply_adapt_dumps.py
parent64e0193824262e93e7cd67bb8c3af68d278f990c (diff)
downloaddabmod-5e3ca125bfc56d31b9c9ef819eab9171b73b7333.tar.gz
dabmod-5e3ca125bfc56d31b9c9ef819eab9171b73b7333.tar.bz2
dabmod-5e3ca125bfc56d31b9c9ef819eab9171b73b7333.zip
Cleanup
Diffstat (limited to 'dpd/apply_adapt_dumps.py')
-rwxr-xr-xdpd/apply_adapt_dumps.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/dpd/apply_adapt_dumps.py b/dpd/apply_adapt_dumps.py
index 4ecdc08..ee75e25 100755
--- a/dpd/apply_adapt_dumps.py
+++ b/dpd/apply_adapt_dumps.py
@@ -128,7 +128,7 @@ tx_gain = adapt.get_txgain()
rx_gain = adapt.get_rxgain()
digital_gain = adapt.get_digital_gain()
-dpddata = adapt.get_predistorter
+dpddata = adapt.get_predistorter()
if dpddata[0] == "poly":
coefs_am = dpddata[1]
coefs_pm = dpddata[2]
@@ -162,7 +162,7 @@ print(paths)
for i, path in enumerate(paths):
print(i, path)
adapt.load(path)
- dpddata_after = adapt.get_predistorter
+ dpddata_after = adapt.get_predistorter()
coefs_am, coefs_pm = model.reset_coefs()
adapt.set_predistorter(("poly", coefs_am, coefs_pm))