summaryrefslogtreecommitdiff
path: root/gr-digital/python/dqpsk.py
diff options
context:
space:
mode:
authorTom Rondeau2011-07-26 20:59:49 -0400
committerTom Rondeau2011-07-26 20:59:49 -0400
commit8b3c4ccf922c602ae77dad7f3911b16bdd0112d3 (patch)
treee87bdb4b6cddfe1ab4721736c0a95185eb95253d /gr-digital/python/dqpsk.py
parentebcf1e9e180c7a8e9147ce441c5e9ab9056ecb13 (diff)
downloadgnuradio-8b3c4ccf922c602ae77dad7f3911b16bdd0112d3.tar.gz
gnuradio-8b3c4ccf922c602ae77dad7f3911b16bdd0112d3.tar.bz2
gnuradio-8b3c4ccf922c602ae77dad7f3911b16bdd0112d3.zip
digital: reworking code so digital examples work. BPSK seems to work fine offline.
Diffstat (limited to 'gr-digital/python/dqpsk.py')
-rw-r--r--gr-digital/python/dqpsk.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/gr-digital/python/dqpsk.py b/gr-digital/python/dqpsk.py
index 29afd5530..5e17d24bc 100644
--- a/gr-digital/python/dqpsk.py
+++ b/gr-digital/python/dqpsk.py
@@ -315,8 +315,8 @@ class dqpsk_demod(gr.hier_block2):
print "Timing alpha gain: %.2f" % self._timing_alpha
print "Timing beta gain: %.2f" % self._timing_beta
print "Timing max dev: %.2f" % self._timing_max_dev
- print "Phase track alpha: %.2e" % self._phase_alpha
- print "Phase track beta: %.2e" % self._phase_beta
+ print "Phase damping fact: %.2e" % self._phase_damping
+ print "Phase natural freq: %.2e" % self._phase_natfreq
def _setup_logging(self):
print "Modulation logging turned on."
@@ -348,8 +348,10 @@ class dqpsk_demod(gr.hier_block2):
help="disable gray coding on modulated bits (PSK)")
parser.add_option("", "--freq-alpha", type="float", default=_def_freq_alpha,
help="set frequency lock loop alpha gain value [default=%default] (PSK)")
- parser.add_option("", "--phase-alpha", type="float", default=_def_phase_alpha,
- help="set phase tracking loop alpha value [default=%default] (PSK)")
+ parser.add_option("", "--phase-natfreq", type="float", default=_def_phase_natfreq,
+ help="set natural frequency of phase tracking loop [default=%default] (PSK)")
+ parser.add_option("", "--phase-damping", type="float", default=_def_phase_damping,
+ help="set damping factor of phase tracking loop [default=%default] (PSK)")
parser.add_option("", "--timing-alpha", type="float", default=_def_timing_alpha,
help="set timing symbol sync loop gain alpha value [default=%default] (GMSK/PSK)")
parser.add_option("", "--timing-beta", type="float", default=_def_timing_beta,