summaryrefslogtreecommitdiffstats
path: root/dpd/main.py
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-08-23 14:19:38 +0200
committerandreas128 <Andreas>2017-08-23 14:19:38 +0200
commitcedc4708cf73151c6b887198b14851c6adf8fc86 (patch)
tree1a74084ad14a2e89f468af4f919967c60207ff6e /dpd/main.py
parent559aec7d224afd86f1612f0c5177e508fae10665 (diff)
downloaddabmod-cedc4708cf73151c6b887198b14851c6adf8fc86.tar.gz
dabmod-cedc4708cf73151c6b887198b14851c6adf8fc86.tar.bz2
dabmod-cedc4708cf73151c6b887198b14851c6adf8fc86.zip
Add coefficient nomalization
Diffstat (limited to 'dpd/main.py')
-rwxr-xr-xdpd/main.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/dpd/main.py b/dpd/main.py
index 81e2588..4d2b93d 100755
--- a/dpd/main.py
+++ b/dpd/main.py
@@ -59,7 +59,8 @@ adapt = Adapt.Adapt(port_rc, coef_path)
coefs = adapt.get_coefs()
#model = Model.Model(coefs)
model = Model.Model([2.2, 0, 0, 0, 0])
-adapt.set_txgain(84)
+adapt.set_txgain(79)
+adapt.set_rxgain(15+20)
tx_gain = adapt.get_txgain()
rx_gain = adapt.get_rxgain()