[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r8933 - gnuradio/branches/features/experimental-gui
From: |
jcorgan |
Subject: |
[Commit-gnuradio] r8933 - gnuradio/branches/features/experimental-gui |
Date: |
Thu, 17 Jul 2008 18:51:22 -0600 (MDT) |
Author: jcorgan
Date: 2008-07-17 18:51:21 -0600 (Thu, 17 Jul 2008)
New Revision: 8933
Modified:
gnuradio/branches/features/experimental-gui/const_top_block.py
Log:
Add square pulse matched filter.
Modified: gnuradio/branches/features/experimental-gui/const_top_block.py
===================================================================
--- gnuradio/branches/features/experimental-gui/const_top_block.py
2008-07-18 00:23:04 UTC (rev 8932)
+++ gnuradio/branches/features/experimental-gui/const_top_block.py
2008-07-18 00:51:21 UTC (rev 8933)
@@ -81,6 +81,10 @@
freq=freq,
antenna=antenna)
+ # TODO: make this a configuration matched filter
+ # for now assume square pulses
+ self._filt = gr.fir_filter_ccf(1,
[1.0,]*int(self._u.sample_rate()/bit_rate))
+
self._const =
const_streamer.const_streamer(sample_rate=self._u.sample_rate(),
bit_rate=bit_rate,
order=order,
@@ -94,7 +98,7 @@
self._msgq = gr.msg_queue(2)
self._sink = gr.message_sink(gr.sizeof_gr_complex*frame_size,
self._msgq, True)
- self.connect(self._u, self._const, self._sink)
+ self.connect(self._u, self._filt, self._const, self._sink)
# "Setters", which are called externally to affect flowgraph operation
def set_gain(self, gain):
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r8933 - gnuradio/branches/features/experimental-gui,
jcorgan <=