diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-09-25 12:41:41 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-09-25 12:41:41 +0200 |
commit | e84f532b9e97dc2ad53ad96cc9543a178d6f20fd (patch) | |
tree | edcf5bd3290e18597e02cbde77f78b4329d5d95b /gui/dpd/Capture.py | |
parent | d5afedae5f31a6b4c8052b12af9279e609ac5f20 (diff) | |
download | dabmod-e84f532b9e97dc2ad53ad96cc9543a178d6f20fd.tar.gz dabmod-e84f532b9e97dc2ad53ad96cc9543a178d6f20fd.tar.bz2 dabmod-e84f532b9e97dc2ad53ad96cc9543a178d6f20fd.zip |
gui: add input to RC page, improve predistortion page
Diffstat (limited to 'gui/dpd/Capture.py')
-rw-r--r-- | gui/dpd/Capture.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/dpd/Capture.py b/gui/dpd/Capture.py index 31fa78d..de428cb 100644 --- a/gui/dpd/Capture.py +++ b/gui/dpd/Capture.py @@ -163,9 +163,9 @@ class Capture: tx_median = np.median(np.abs(txframe)) if self.median_max < tx_median: - raise ValueError("Median {} too high, decrease digital_gain!".format(tx_median)) + raise ValueError("TX median {} too high, decrease digital_gain!".format(tx_median)) elif tx_median < self.median_min: - raise ValueError("Median {} too low, increase digital_gain!".format(tx_median)) + raise ValueError("TX median {} too low, increase digital_gain!".format(tx_median)) else: rx_median = np.median(np.abs(rxframe)) rxframe = rxframe / rx_median * tx_median |