aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/sigProcLib.h
diff options
context:
space:
mode:
authorAlexander Chemeris <Alexander.Chemeris@gmail.com>2017-03-17 15:29:09 -0700
committerAlexander Chemeris <Alexander.Chemeris@gmail.com>2017-03-28 14:22:01 +0000
commitb34e60c10572ff8003da1b2efc7d1184a460b187 (patch)
treeba7449353c5e4e4a4ea6ee56d8e4a416e863e110 /Transceiver52M/sigProcLib.h
parent4e6c938024031f2dc6d891b75cdd48c5846afba8 (diff)
Move BURST_THRESH from Transceiver.cpp to sigProcLib.h to make it reusable.
Diffstat (limited to 'Transceiver52M/sigProcLib.h')
-rw-r--r--Transceiver52M/sigProcLib.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Transceiver52M/sigProcLib.h b/Transceiver52M/sigProcLib.h
index 6413b47..04c4757 100644
--- a/Transceiver52M/sigProcLib.h
+++ b/Transceiver52M/sigProcLib.h
@@ -50,6 +50,15 @@ enum SignalError {
SIGERR_INTERNAL,
};
+/*
+ * Burst detection threshold
+ *
+ * Decision threshold value for burst gating on peak-to-average value of
+ * correlated synchronization sequences. Lower values pass more bursts up
+ * to upper layers but will increase the false detection rate.
+ */
+#define BURST_THRESH 4.0
+
/** Convert a linear number to a dB value */
float dB(float x);