From 2f29bec66f0d072934334b0aa5f8094e550a3a8f Mon Sep 17 00:00:00 2001 From: andreas128 Date: Tue, 22 Aug 2017 16:35:22 +0200 Subject: Add iterative dpd --- dpd/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dpd/main.py') diff --git a/dpd/main.py b/dpd/main.py index 72026dc..b0b7a87 100755 --- a/dpd/main.py +++ b/dpd/main.py @@ -59,7 +59,7 @@ 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(82) +adapt.set_txgain(84) tx_gain = adapt.get_txgain() rx_gain = adapt.get_rxgain() @@ -70,7 +70,7 @@ logging.info( ) ) -for i in range(10): +for i in range(500): txframe_aligned, tx_ts, rxframe_aligned, rx_ts = meas.get_samples() logging.debug("tx_ts {}, rx_ts {}".format(tx_ts, rx_ts)) coefs = model.get_next_coefs(txframe_aligned, rxframe_aligned) -- cgit v1.2.3