[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r11335 - gnuradio/branches/developers/trondeau/pfb/gnu
From: |
n4hy |
Subject: |
[Commit-gnuradio] r11335 - gnuradio/branches/developers/trondeau/pfb/gnuradio-examples/python/pfb |
Date: |
Fri, 3 Jul 2009 16:06:44 -0600 (MDT) |
Author: n4hy
Date: 2009-07-03 16:06:43 -0600 (Fri, 03 Jul 2009)
New Revision: 11335
Modified:
gnuradio/branches/developers/trondeau/pfb/gnuradio-examples/python/pfb/channelize.py
gnuradio/branches/developers/trondeau/pfb/gnuradio-examples/python/pfb/decimate.py
gnuradio/branches/developers/trondeau/pfb/gnuradio-examples/python/pfb/interpolate.py
Log:
low_pass used incorrectly, interpolator still needs work. Now MUCH smaller
filters and better rejection
Modified:
gnuradio/branches/developers/trondeau/pfb/gnuradio-examples/python/pfb/channelize.py
===================================================================
---
gnuradio/branches/developers/trondeau/pfb/gnuradio-examples/python/pfb/channelize.py
2009-07-03 17:29:19 UTC (rev 11334)
+++
gnuradio/branches/developers/trondeau/pfb/gnuradio-examples/python/pfb/channelize.py
2009-07-03 22:06:43 UTC (rev 11335)
@@ -18,7 +18,8 @@
self._fs = 9000
self._Tmax = self._N * (1.0/self._fs)
self._M = 9
- self._taps = gr.firdes.low_pass(1, self._fs, 800, 20)
+ self._taps = gr.firdes.low_pass_2(1, self._fs, 475,50, 100,5)
+
fc = 200
tpc = math.ceil(float(len(self._taps)) / float(self._M))
@@ -29,7 +30,7 @@
self.signals = list()
self.add = gr.add_cc()
- freqs = [-4070, -3050, -2030, -1010, 10, 1020, 2040, 3060, 4080]
+ freqs = [-4070, -3050, -2030, -1010, 10, 1020, 2040, 3060, 4300]
for i in xrange(len(freqs)):
self.signals.append(gr.sig_source_c(self._fs, gr.GR_SIN_WAVE,
freqs[i], 1))
self.connect(self.signals[i], (self.add,i))
Modified:
gnuradio/branches/developers/trondeau/pfb/gnuradio-examples/python/pfb/decimate.py
===================================================================
---
gnuradio/branches/developers/trondeau/pfb/gnuradio-examples/python/pfb/decimate.py
2009-07-03 17:29:19 UTC (rev 11334)
+++
gnuradio/branches/developers/trondeau/pfb/gnuradio-examples/python/pfb/decimate.py
2009-07-03 22:06:43 UTC (rev 11335)
@@ -18,7 +18,7 @@
self._fs = 10000
self._Tmax = self._N * (1.0/self._fs)
self._decim = 20
- self._taps = gr.firdes.low_pass(1, self._fs, 100, 10)
+ self._taps = gr.firdes.low_pass_2(1, self._fs, 200, 50,120,5)
tpc = math.ceil(float(len(self._taps)) / float(self._decim))
Modified:
gnuradio/branches/developers/trondeau/pfb/gnuradio-examples/python/pfb/interpolate.py
===================================================================
---
gnuradio/branches/developers/trondeau/pfb/gnuradio-examples/python/pfb/interpolate.py
2009-07-03 17:29:19 UTC (rev 11334)
+++
gnuradio/branches/developers/trondeau/pfb/gnuradio-examples/python/pfb/interpolate.py
2009-07-03 22:06:43 UTC (rev 11335)
@@ -23,9 +23,9 @@
self._interp = 8
self._ainterp = 8
- self._taps = gr.firdes.low_pass(self._interp, self._interp*self._fs,
freq2+50, 50)
- self._taps2 = gr.firdes.low_pass(32.0, 1,
- 0.4 / (32.0), 0.1/(32.0))
+ self._taps = gr.firdes.low_pass_2(self._interp, self._interp*self._fs,
freq2+50, 150,120,5)
+ self._taps2 = gr.firdes.low_pass_2(32.0, 1,
+ 0.4 / (32.0), 0.1/(32.0),100,5)
tpc = math.ceil(float(len(self._taps)) / float(self._interp))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r11335 - gnuradio/branches/developers/trondeau/pfb/gnuradio-examples/python/pfb,
n4hy <=