summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormax <max@65a5c917-d112-43f1-993d-58c26a4786be>2012-05-29 15:20:29 +0000
committermax <max@65a5c917-d112-43f1-993d-58c26a4786be>2012-05-29 15:20:29 +0000
commit8e808c2167257330c377102692f550f5297005cd (patch)
treed98e813a0c7762c470cd508818633e62a5601d36
parent5640f0e1a70b7af2d26f03e886cab447a18d2cc5 (diff)
add wng
git-svn-id: http://op25.osmocom.org/svn/trunk@300 65a5c917-d112-43f1-993d-58c26a4786be
-rwxr-xr-xpython/cqpsk-demod-file.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/cqpsk-demod-file.py b/python/cqpsk-demod-file.py
index 2cc6e8a..861db2b 100755
--- a/python/cqpsk-demod-file.py
+++ b/python/cqpsk-demod-file.py
@@ -64,6 +64,9 @@ class my_top_block(gr.top_block):
decim_amt = 1
if options.tone_detect:
+ if sample_rate != 96000:
+ print "warning, only 96K has been tested."
+ print "other rates may require theta to be reviewed/adjusted."
step_size = 7.5e-8
theta = -4 # optimum timing sampling point
cic_length = 48