summaryrefslogtreecommitdiffstats
path: root/dpd/main.py
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-09-05 10:02:59 +0200
committerandreas128 <Andreas>2017-09-05 10:18:05 +0200
commit1b6c5dd58658bbc1b423b50baa15ca3fae6a1065 (patch)
tree0b457a2bc92d295970a94640fa7fe63844c489a6 /dpd/main.py
parentb9aab4c9ab542823ec751e32ea7462428d98419c (diff)
downloaddabmod-1b6c5dd58658bbc1b423b50baa15ca3fae6a1065.tar.gz
dabmod-1b6c5dd58658bbc1b423b50baa15ca3fae6a1065.tar.bz2
dabmod-1b6c5dd58658bbc1b423b50baa15ca3fae6a1065.zip
Change max to meadian in TX_Agc
Diffstat (limited to 'dpd/main.py')
-rwxr-xr-xdpd/main.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/dpd/main.py b/dpd/main.py
index 5e4f29f..ad42cb6 100755
--- a/dpd/main.py
+++ b/dpd/main.py
@@ -61,7 +61,7 @@ parser.add_argument('--samplerate', default='8192000',
parser.add_argument('--coefs', default='poly.coef',
help='File with DPD coefficients, which will be read by ODR-DabMod',
required=False)
-parser.add_argument('--txgain', default=65,
+parser.add_argument('--txgain', default=60,
help='TX Gain',
required=False,
type=int)
@@ -69,7 +69,7 @@ parser.add_argument('--rxgain', default=30,
help='TX Gain',
required=False,
type=int)
-parser.add_argument('--digital_gain', default=1.0,
+parser.add_argument('--digital_gain', default=0.2,
help='Digital Gain',
required=False,
type=float)
@@ -106,7 +106,7 @@ coefs_am, coefs_pm = adapt.get_coefs()
if cli_args.load_poly:
model = Model.Model(coefs_am, coefs_pm, plot=True)
else:
- model = Model.Model([1, 0, 0, 0, 0], [0, 0, 0, 0, 0], plot=True)
+ model = Model.Model([1.0, 0, 0, 0, 0], [0, 0, 0, 0, 0], plot=True)
adapt.set_txgain(digital_gain)
adapt.set_txgain(txgain)
adapt.set_rxgain(rxgain)