diff options
author | Tom Rondeau | 2010-11-21 21:23:31 -0500 |
---|---|---|
committer | Tom Rondeau | 2010-11-21 21:23:31 -0500 |
commit | 7c5dc0920240f566ad4482f47ca8b9095479f04e (patch) | |
tree | 06bd323cc5a3b56590a2484646ed6b2a2578266e /gnuradio-examples | |
parent | 9217bbcafe547fd5815265758370b07c375d72c9 (diff) | |
download | gnuradio-7c5dc0920240f566ad4482f47ca8b9095479f04e.tar.gz gnuradio-7c5dc0920240f566ad4482f47ca8b9095479f04e.tar.bz2 gnuradio-7c5dc0920240f566ad4482f47ca8b9095479f04e.zip |
Removed comments to stdout from file tagger; made it easir to go from internally generated bursts to detected bursts (which needs work).
Diffstat (limited to 'gnuradio-examples')
-rwxr-xr-x | gnuradio-examples/python/tags/uhd_burst_detector.py | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/gnuradio-examples/python/tags/uhd_burst_detector.py b/gnuradio-examples/python/tags/uhd_burst_detector.py index 17e71cb29..993c6807d 100755 --- a/gnuradio-examples/python/tags/uhd_burst_detector.py +++ b/gnuradio-examples/python/tags/uhd_burst_detector.py @@ -53,17 +53,19 @@ class uhd_burst_detector(gr.top_block): self.connect((self.uhd_src, 0), (self.tagger, 0)) self.connect((self.tagger, 0), (self.fsnk, 0)) - # Connect a dummy signaler to the burst tagger - self.connect((self.signal, 0), (self.tagger, 1)) + if 0: + # Connect a dummy signaler to the burst tagger + self.connect((self.signal, 0), (self.tagger, 1)) - # Connect an energy detector signaler to the burst tagger - #self.connect((self.uhd_src, 0), (self.c2m, 0)) - #self.connect((self.c2m, 0), (self.sub, 0)) - #self.connect((self.c2m, 0), (self.iir, 0)) - #self.connect((self.iir, 0), (self.sub, 1)) - #self.connect((self.sub, 0), (self.mult,0)) - #self.connect((self.mult, 0), (self.f2s, 0)) - #self.connect((self.f2s, 0), (self.tagger, 1)) + else: + # Connect an energy detector signaler to the burst tagger + self.connect((self.uhd_src, 0), (self.c2m, 0)) + self.connect((self.c2m, 0), (self.sub, 0)) + self.connect((self.c2m, 0), (self.iir, 0)) + self.connect((self.iir, 0), (self.sub, 1)) + self.connect((self.sub, 0), (self.mult,0)) + self.connect((self.mult, 0), (self.f2s, 0)) + self.connect((self.f2s, 0), (self.tagger, 1)) def set_samp_rate(self, samp_rate): self.samp_rate = samp_rate |