aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/sigProcLib.h
diff options
context:
space:
mode:
authorAlexander Chemeris <Alexander.Chemeris@gmail.com>2017-03-17 22:35:02 -0700
committerAlexander Chemeris <Alexander.Chemeris@gmail.com>2017-03-28 14:24:07 +0000
commit1470fcdb5a9abd9dd1e3b5ed401df88ef9e87cc3 (patch)
tree14eb2be372a7757a2bb2c4befa6e8c0c1aa6b255 /Transceiver52M/sigProcLib.h
parent6e1dffd486745105e4662d4f5009ed0c34c79b66 (diff)
sigProcLib: constify signalVector arguments for detectBurst() functions.
Diffstat (limited to 'Transceiver52M/sigProcLib.h')
-rw-r--r--Transceiver52M/sigProcLib.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Transceiver52M/sigProcLib.h b/Transceiver52M/sigProcLib.h
index a10d551..a67b0ca 100644
--- a/Transceiver52M/sigProcLib.h
+++ b/Transceiver52M/sigProcLib.h
@@ -201,7 +201,7 @@ void scaleVector(signalVector &x,
@param windowLength The number of burst samples used to compute burst energy
@return The average power of the received burst.
*/
-float energyDetect(signalVector &rxBurst,
+float energyDetect(const signalVector &rxBurst,
unsigned windowLength);
/**
@@ -216,7 +216,7 @@ float energyDetect(signalVector &rxBurst,
negative value (-SignalError) on error,
zero (SIGERR_NONE) if no burst is detected
*/
-int detectRACHBurst(signalVector &burst,
+int detectRACHBurst(const signalVector &burst,
float threshold,
int sps,
complex &amplitude,
@@ -236,7 +236,7 @@ int detectRACHBurst(signalVector &burst,
negative value (-SignalError) on error,
zero (SIGERR_NONE) if no burst is detected
*/
-int analyzeTrafficBurst(signalVector &burst,
+int analyzeTrafficBurst(const signalVector &burst,
unsigned tsc,
float threshold,
int sps,
@@ -257,7 +257,7 @@ int analyzeTrafficBurst(signalVector &burst,
negative value (-SignalError) on error,
zero (SIGERR_NONE) if no burst is detected
*/
-int detectEdgeBurst(signalVector &burst,
+int detectEdgeBurst(const signalVector &burst,
unsigned tsc,
float threshold,
int sps,
@@ -278,7 +278,7 @@ int detectEdgeBurst(signalVector &burst,
negative value (-SignalError) on error,
zero (SIGERR_NONE) if no burst is detected
*/
-int detectAnyBurst(signalVector &burst,
+int detectAnyBurst(const signalVector &burst,
unsigned tsc,
float threshold,
int sps,
@@ -292,7 +292,7 @@ int detectAnyBurst(signalVector &burst,
@param burst Input burst of at least 624 symbols
@return Decimated signal vector of 156 symbols
*/
-signalVector *downsampleBurst(signalVector &burst);
+signalVector *downsampleBurst(const signalVector &burst);
/**
Decimate a vector.