aboutsummaryrefslogtreecommitdiffstats
path: root/gui/dpd/Capture.py
diff options
context:
space:
mode:
Diffstat (limited to 'gui/dpd/Capture.py')
-rw-r--r--gui/dpd/Capture.py4
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