[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r3560 - in gnuradio/branches/developers/trondeau/wip2:
From: |
trondeau |
Subject: |
[Commit-gnuradio] r3560 - in gnuradio/branches/developers/trondeau/wip2: gnuradio-core/src/python/gnuradio/blksimpl gnuradio-examples/python/gmsk2 |
Date: |
Mon, 18 Sep 2006 11:20:27 -0600 (MDT) |
Author: trondeau
Date: 2006-09-18 11:20:27 -0600 (Mon, 18 Sep 2006)
New Revision: 3560
Modified:
gnuradio/branches/developers/trondeau/wip2/gnuradio-core/src/python/gnuradio/blksimpl/dqpsk.py
gnuradio/branches/developers/trondeau/wip2/gnuradio-examples/python/gmsk2/benchmark_tx.py
gnuradio/branches/developers/trondeau/wip2/gnuradio-examples/python/gmsk2/transmit_path.py
Log:
cleaning up a few syntax errors
Modified:
gnuradio/branches/developers/trondeau/wip2/gnuradio-core/src/python/gnuradio/blksimpl/dqpsk.py
===================================================================
---
gnuradio/branches/developers/trondeau/wip2/gnuradio-core/src/python/gnuradio/blksimpl/dqpsk.py
2006-09-17 16:34:54 UTC (rev 3559)
+++
gnuradio/branches/developers/trondeau/wip2/gnuradio-core/src/python/gnuradio/blksimpl/dqpsk.py
2006-09-18 17:20:27 UTC (rev 3560)
@@ -280,8 +280,8 @@
gr.file_sink(gr.sizeof_gr_complex, "costas.dat"))
def arguments(self=None):
- args = {'spb':2, 'excess_bw':0.3, 'costas_alpha':0.005,
'gain_mu':0.05, 'mu':0.5
- 'gray_code':True, verbose':True, 'debug':False}
+ args = {'spb':2, 'excess_bw':0.3, 'costas_alpha':0.005,
'gain_mu':0.05, 'mu':0.5,
+ 'gray_code':True, 'verbose':True, 'debug':False}
return args
arguments = staticmethod(arguments)
Modified:
gnuradio/branches/developers/trondeau/wip2/gnuradio-examples/python/gmsk2/benchmark_tx.py
===================================================================
---
gnuradio/branches/developers/trondeau/wip2/gnuradio-examples/python/gmsk2/benchmark_tx.py
2006-09-17 16:34:54 UTC (rev 3559)
+++
gnuradio/branches/developers/trondeau/wip2/gnuradio-examples/python/gmsk2/benchmark_tx.py
2006-09-18 17:20:27 UTC (rev 3560)
@@ -51,7 +51,6 @@
def send_pkt(payload='', eof=False):
return fg.txpath.send_pkt(payload, eof)
-
def rx_callback(ok, payload):
print "ok = %r, payload = '%s'" % (ok, payload)
@@ -70,6 +69,8 @@
mod.add_options(mod_grp)
transmit_path.add_options(parser)
fusb_options.add_options(parser)
+ parser.add_option("", "--debug", action="store_true", default="False",
+ help="Turn debugging information on (CAUTION: takes up
lots of diskspace)")
(options, args) = parser.parse_args ()
if len(args) != 0:
Modified:
gnuradio/branches/developers/trondeau/wip2/gnuradio-examples/python/gmsk2/transmit_path.py
===================================================================
---
gnuradio/branches/developers/trondeau/wip2/gnuradio-examples/python/gmsk2/transmit_path.py
2006-09-17 16:34:54 UTC (rev 3559)
+++
gnuradio/branches/developers/trondeau/wip2/gnuradio-examples/python/gmsk2/transmit_path.py
2006-09-18 17:20:27 UTC (rev 3560)
@@ -62,7 +62,7 @@
# transmitter
self.packet_transmitter = \
blks.mod_pkts(fg,
- self._modulator(fg, debug=options.debug,
**mod_kwargs),
+ self._modulator(fg, **mod_kwargs),
access_code=None,
msgq_limit=4,
pad_for_usrp=True)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r3560 - in gnuradio/branches/developers/trondeau/wip2: gnuradio-core/src/python/gnuradio/blksimpl gnuradio-examples/python/gmsk2,
trondeau <=