diff options
author | andreas128 <Andreas> | 2017-08-22 16:35:22 +0200 |
---|---|---|
committer | andreas128 <Andreas> | 2017-08-22 16:35:22 +0200 |
commit | 2f29bec66f0d072934334b0aa5f8094e550a3a8f (patch) | |
tree | 0a6b66643f19628b660edc26a70a8f26a9b0badc /dpd/main.py | |
parent | d7521876d7cb221860b0975b2a25eedca00206b7 (diff) | |
download | dabmod-2f29bec66f0d072934334b0aa5f8094e550a3a8f.tar.gz dabmod-2f29bec66f0d072934334b0aa5f8094e550a3a8f.tar.bz2 dabmod-2f29bec66f0d072934334b0aa5f8094e550a3a8f.zip |
Add iterative dpd
Diffstat (limited to 'dpd/main.py')
-rwxr-xr-x | dpd/main.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |