Line 16
Link Here
|
16 |
from gnuradio import gr, gru, eng_notation, blks2, optfir |
16 |
from gnuradio import gr, gru, eng_notation, blocks, filter |
17 |
-- |
|
|
Line 57
Link Here
|
57 |
self.converter = gr.vector_to_stream(gr.sizeof_float, 142) |
57 |
self.converter = blocks.vector_to_stream(gr.sizeof_float, 142) |
58 |
-- |
|
|
Line 62
Link Here
|
62 |
self.src = osmosdr.source_c(options.args) |
62 |
self.src = osmosdr.source(options.args) |
63 |
-- |
|
|
Lines 85-86
Link Here
|
85 |
taps = gr.firdes.low_pass(1.0, sample_rate, 145e3, 10e3, gr.firdes.WIN_HANN) |
85 |
taps = filter.firdes.low_pass(1.0, sample_rate, 145e3, 10e3, filter.firdes.WIN_HANN) |
86 |
self.tuner = gr.freq_xlating_fir_filter_ccf(1, taps, self.offset, sample_rate) |
86 |
self.tuner = filter.freq_xlating_fir_filter_ccf(1, taps, self.offset, sample_rate) |
87 |
-- |
|
|
Line 88
Link Here
|
88 |
self.interpolator = gr.fractional_interpolator_cc(0, sps) |
88 |
self.interpolator = filter.fractional_interpolator_cc(0, sps) |
89 |
-- |
|
|
Line 95
Link Here
|
95 |
self.output = gr.file_sink(gr.sizeof_float, options.output_file) |
95 |
self.output = blocks.file_sink(gr.sizeof_float, options.output_file) |
96 |
-- |
|
|