diff options
author | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2017-03-17 15:29:09 -0700 |
---|---|---|
committer | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2017-03-28 14:22:01 +0000 |
commit | b34e60c10572ff8003da1b2efc7d1184a460b187 (patch) | |
tree | ba7449353c5e4e4a4ea6ee56d8e4a416e863e110 /Transceiver52M/sigProcLib.h | |
parent | 4e6c938024031f2dc6d891b75cdd48c5846afba8 (diff) |
Move BURST_THRESH from Transceiver.cpp to sigProcLib.h to make it reusable.
Change-Id: I5a888890e26858c0fbb2ddb7ef23cb0fd66a64b4
Diffstat (limited to 'Transceiver52M/sigProcLib.h')
-rw-r--r-- | Transceiver52M/sigProcLib.h | 9 |
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); |