diff options
author | andreas128 <Andreas> | 2017-09-28 18:59:35 +0200 |
---|---|---|
committer | andreas128 <Andreas> | 2017-09-28 18:59:35 +0200 |
commit | 253be52c23528544d54a59b649a60193fffb2848 (patch) | |
tree | 67bd74ca1f35ec0dc7dee34207b5aa652443e485 /dpd/apply_adapt_dumps.py | |
parent | 74765b949c8d597ec906fd49733a035028095d54 (diff) | |
download | dabmod-253be52c23528544d54a59b649a60193fffb2848.tar.gz dabmod-253be52c23528544d54a59b649a60193fffb2848.tar.bz2 dabmod-253be52c23528544d54a59b649a60193fffb2848.zip |
Cleanup
Diffstat (limited to 'dpd/apply_adapt_dumps.py')
-rwxr-xr-x | dpd/apply_adapt_dumps.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dpd/apply_adapt_dumps.py b/dpd/apply_adapt_dumps.py index 4dac657..4ecdc08 100755 --- a/dpd/apply_adapt_dumps.py +++ b/dpd/apply_adapt_dumps.py @@ -42,7 +42,7 @@ import src.Measure as Measure import src.Model as Model import src.ExtractStatistic as ExtractStatistic import src.Adapt as Adapt -import src.Agc as Agc +import src.RX_Agc as Agc import src.TX_Agc as TX_Agc import argparse @@ -113,7 +113,7 @@ MS = src.Measure_Shoulders.Measure_Shoulders(c) meas = Measure.Measure(samplerate, port, num_req) extStat = ExtractStatistic.ExtractStatistic(c) adapt = Adapt.Adapt(port_rc, coef_path) -dpddata = adapt.get_predistorter() +dpddata = adapt.get_predistorter if cli_args.lut: model = Model.Lut(c) @@ -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)) |