diff options
author | Tom Rondeau <trondeau@vt.edu> | 2013-03-17 21:31:47 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2013-03-17 21:31:47 -0400 |
commit | cabdafcb55423b54b63b711c942d4438b6af1a65 (patch) | |
tree | 4130dbe4ef3f3814baad5e6d7a6f65c19add0657 /gnuradio-core/src/examples/mp-sched | |
parent | 35e94fb8f4f3ead626f6ed28385148475773afc7 (diff) |
cleaning up, converting examples, etc.
Diffstat (limited to 'gnuradio-core/src/examples/mp-sched')
-rwxr-xr-x | gnuradio-core/src/examples/mp-sched/synthetic.py | 4 | ||||
-rwxr-xr-x | gnuradio-core/src/examples/mp-sched/wfm_rcv_pll_to_wav.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gnuradio-core/src/examples/mp-sched/synthetic.py b/gnuradio-core/src/examples/mp-sched/synthetic.py index 4b509af228..6f0bb85da8 100755 --- a/gnuradio-core/src/examples/mp-sched/synthetic.py +++ b/gnuradio-core/src/examples/mp-sched/synthetic.py @@ -29,7 +29,7 @@ import os class pipeline(gr.hier_block2): def __init__(self, nstages, ntaps=256): """ - Create a pipeline of nstages of gr.fir_filter_fff's connected in serial + Create a pipeline of nstages of filter.fir_filter_fff's connected in serial terminating in a blocks.null_sink. """ gr.hier_block2.__init__(self, "pipeline", @@ -38,7 +38,7 @@ class pipeline(gr.hier_block2): taps = ntaps*[1.0/ntaps] upstream = self for i in range(nstages): - op = gr.fir_filter_fff(1, taps) + op = filter.fir_filter_fff(1, taps) self.connect(upstream, op) upstream = op diff --git a/gnuradio-core/src/examples/mp-sched/wfm_rcv_pll_to_wav.py b/gnuradio-core/src/examples/mp-sched/wfm_rcv_pll_to_wav.py index 2f638e26ec..7cf3210b0e 100755 --- a/gnuradio-core/src/examples/mp-sched/wfm_rcv_pll_to_wav.py +++ b/gnuradio-core/src/examples/mp-sched/wfm_rcv_pll_to_wav.py @@ -68,7 +68,7 @@ class wfm_rx_block (gr.top_block): 0.1, # passband ripple 60) # stopband attenuation #print len(chan_filt_coeffs) - chan_filt = gr.fir_filter_ccf (chanfilt_decim, chan_filt_coeffs) + chan_filt = filter.fir_filter_ccf (chanfilt_decim, chan_filt_coeffs) #self.guts = analog.wfm_rcv (demod_rate, audio_decimation) |