summaryrefslogtreecommitdiffstats
path: root/dpd/src/const.py
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-09-23 20:31:47 +0200
committerandreas128 <Andreas>2017-09-23 20:31:47 +0200
commitb821bd80132eaa6e7132508d0e12787db45f4f16 (patch)
treedeb83c79ebdb3fa8c36cec44b75edfa542ea0193 /dpd/src/const.py
parentebcd2418cfecd41b56b37454bab2551a5df7e25c (diff)
downloaddabmod-b821bd80132eaa6e7132508d0e12787db45f4f16.tar.gz
dabmod-b821bd80132eaa6e7132508d0e12787db45f4f16.tar.bz2
dabmod-b821bd80132eaa6e7132508d0e12787db45f4f16.zip
Move constants to const.py
Diffstat (limited to 'dpd/src/const.py')
-rw-r--r--dpd/src/const.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/dpd/src/const.py b/dpd/src/const.py
index c7f4b7c..63a095b 100644
--- a/dpd/src/const.py
+++ b/dpd/src/const.py
@@ -43,6 +43,16 @@ class const:
self.ES_n_bins = 64
self.ES_n_per_bin = 128
+ # Constants for TX_Agc
+ self.TAGC_max_txgain = 89
+ self.TAGC_tx_median_target = 0.1
+ self.TAGC_tx_median_max = self.TAGC_tx_median_target*1.4
+ self.TAGC_tx_median_min = self.TAGC_tx_median_target/1.4
+
+ # Constants for Agc
+ self.RAGC_min_rxgain = 25
+ self.RAGC_rx_median_target = self.TAGC_tx_median_target
+
# Constants for Model_PM
self.MPM_tx_min = 0.1