aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorSteve Glass <smdg@hush.com>2015-11-13 18:29:07 +1000
committerPiotr Krysik <ptrkrysik@gmail.com>2015-11-14 10:52:07 +0100
commite25e10e60793c3a7aea49f83e368cb3662ce5b47 (patch)
treeafd264de446d4112bbee2bb0361ea6bc237dd52e /apps
parent56b0a673690951f477ae38036906a67cd2661deb (diff)
Remove throttling from gsm_channelize.py
Signed-off-by: Piotr Krysik <ptrkrysik@gmail.com>
Diffstat (limited to 'apps')
-rwxr-xr-xapps/gsm_channelize.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/gsm_channelize.py b/apps/gsm_channelize.py
index c0190a5..4098b7b 100755
--- a/apps/gsm_channelize.py
+++ b/apps/gsm_channelize.py
@@ -82,9 +82,6 @@ class gsm_channelize(gr.top_block):
# Blocks and connections
##################################################
self.blocks_file_source = blocks.file_source(gr.sizeof_gr_complex, path, False)
- self.blocks_throttle = blocks.throttle(gr.sizeof_gr_complex, samp_rate,True)
-
- self.connect((self.blocks_file_source, 0), (self.blocks_throttle, 0))
c0_arfcn = arfcn.downlink2arfcn(fc, band)
self.channels.insert(0, c0_arfcn)
@@ -99,7 +96,7 @@ class gsm_channelize(gr.top_block):
print("ARFCN %d is at C0 %+d KHz" % (channel, int(freq_diff / 1000.0)))
self.blocks_fir_filters[channel] = filter.freq_xlating_fir_filter_ccc(decim, (firdes.low_pass(1, samp_rate, ch_width, ch_twidth)), freq_diff, samp_rate)
- self.connect((self.blocks_throttle, 0), (self.blocks_fir_filters[channel], 0))
+ self.connect((self.blocks_file_source, 0), (self.blocks_fir_filters[channel], 0))
self.blocks_file_sinks[channel] = blocks.file_sink(gr.sizeof_gr_complex, "./gsm_channelizer/out_" + str(channel) + ".cfile", False)
self.blocks_file_sinks[channel].set_unbuffered(False)