summaryrefslogtreecommitdiffstats
path: root/dpd/src/const.py
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-09-26 17:47:51 +0200
committerandreas128 <Andreas>2017-09-26 17:47:51 +0200
commit80ae5c80144451706ba00b24046b31d89a7c0165 (patch)
treeab83a80569c1a0c2450349dba2e986dcc4babc26 /dpd/src/const.py
parentdd757ee779fde3a2d2a9694675de117bde4d62b4 (diff)
downloaddabmod-80ae5c80144451706ba00b24046b31d89a7c0165.tar.gz
dabmod-80ae5c80144451706ba00b24046b31d89a7c0165.tar.bz2
dabmod-80ae5c80144451706ba00b24046b31d89a7c0165.zip
Move plot config in const.py
Diffstat (limited to 'dpd/src/const.py')
-rw-r--r--dpd/src/const.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/dpd/src/const.py b/dpd/src/const.py
index cbef8af..d95d0bf 100644
--- a/dpd/src/const.py
+++ b/dpd/src/const.py
@@ -38,6 +38,7 @@ class const:
self.phase_offset_per_sample = 1. / sample_rate * 2 * np.pi * 1000
# Constants for ExtractStatistic
+ self.ES_plot = True
self.ES_start = 0.0
self.ES_end = 1.0
self.ES_n_bins = 64
@@ -53,10 +54,17 @@ class const:
self.RAGC_min_rxgain = 25
self.RAGC_rx_median_target = self.TAGC_tx_median_target
+ # Constants for Model
+ self.MDL_plot = True
+
+ # Constants for MER
+ self.MER_plot = True
+
# Constants for Model_PM
self.MPM_tx_min = 0.1
# Constants for Measure_Shoulder
+ self.MS_plot = True
assert sample_rate==8192000
meas_offset = 976 # Offset from center frequency to measure shoulder [kHz]
meas_width = 100 # Size of frequency delta to measure shoulder [kHz]