diff options
author | Ben Hilburn <ben.hilburn@ettus.com> | 2015-08-04 15:21:54 -0700 |
---|---|---|
committer | Ben Hilburn <ben.hilburn@ettus.com> | 2015-08-04 15:21:54 -0700 |
commit | 301cafbe18e6e1faee06c9562def02580accc43f (patch) | |
tree | 3f4940d33306e69e0c7e0c50c758e5be31d50d2f | |
parent | 9e0a423ed180244eaf9832de02ce55e68ce817f0 (diff) | |
download | uhd-301cafbe18e6e1faee06c9562def02580accc43f.tar.gz uhd-301cafbe18e6e1faee06c9562def02580accc43f.tar.bz2 uhd-301cafbe18e6e1faee06c9562def02580accc43f.zip |
MegaFFT: Fixing copyright, whitespace
-rw-r--r-- | tools/mega_fft/MegaFFT-3.7.grc | 2 | ||||
-rwxr-xr-x | tools/mega_fft/mega_fft.py | 87 | ||||
-rwxr-xr-x | tools/mega_fft/mega_fft_2ch.py | 121 |
3 files changed, 106 insertions, 104 deletions
diff --git a/tools/mega_fft/MegaFFT-3.7.grc b/tools/mega_fft/MegaFFT-3.7.grc index 500c7a8bb..be3b112d4 100644 --- a/tools/mega_fft/MegaFFT-3.7.grc +++ b/tools/mega_fft/MegaFFT-3.7.grc @@ -6,7 +6,7 @@ <key>options</key> <param> <key>author</key> - <value>Balint Seeber, Ettus Research</value> + <value>Ettus Research</value> </param> <param> <key>alias</key> diff --git a/tools/mega_fft/mega_fft.py b/tools/mega_fft/mega_fft.py index 8dab89f4f..571653d2f 100755 --- a/tools/mega_fft/mega_fft.py +++ b/tools/mega_fft/mega_fft.py @@ -1,8 +1,9 @@ #!/usr/bin/env python2 ################################################## # GNU Radio Python Flow Graph +# Copyright 2014 National Instruments +# # Title: Mega FFT -# Author: Balint Seeber, Ettus Research # Description: Standard edition, single-channel # Generated: Fri Jul 24 11:56:33 2015 ################################################## @@ -171,7 +172,7 @@ class mega_fft(grc_wxgui.top_block_gui): cpu_format="fc32", channels=range(1), ), - + ) if spec != "": self.src.set_subdev_spec(spec, 0) self.src.set_samp_rate(requested_sample_rate) @@ -217,7 +218,7 @@ class mega_fft(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -258,7 +259,7 @@ class mega_fft(grc_wxgui.top_block_gui): self.nb.GetPage(0).Add(self.fft_sink.win) def fft_sink_callback(x, y): self.set_clicked_freq(x) - + self.fft_sink.set_callback(fft_sink_callback) self.waterfall_sink = waterfallsink2.waterfall_sink_c( self.nb.GetPage(2).GetWin(), @@ -279,7 +280,7 @@ class mega_fft(grc_wxgui.top_block_gui): self.nb.GetPage(2).Add(self.waterfall_sink.win) def waterfall_sink_callback(x, y): self.set_clicked_freq(x) - + self.waterfall_sink.set_callback(waterfall_sink_callback) self._test_chooser = forms.button( parent=self.nb_test.GetPage(0).GetWin(), @@ -365,7 +366,7 @@ class mega_fft(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -410,7 +411,7 @@ class mega_fft(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -455,7 +456,7 @@ class mega_fft(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -562,7 +563,7 @@ class mega_fft(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -725,7 +726,7 @@ class mega_fft(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -769,7 +770,7 @@ class mega_fft(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -814,7 +815,7 @@ class mega_fft(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -859,7 +860,7 @@ class mega_fft(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -903,7 +904,7 @@ class mega_fft(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -948,7 +949,7 @@ class mega_fft(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -993,7 +994,7 @@ class mega_fft(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -1038,7 +1039,7 @@ class mega_fft(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -1083,7 +1084,7 @@ class mega_fft(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -1159,7 +1160,7 @@ class mega_fft(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -1334,7 +1335,7 @@ class mega_fft(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -1417,7 +1418,7 @@ class mega_fft(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -1485,7 +1486,7 @@ class mega_fft(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -1598,7 +1599,7 @@ class mega_fft(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -1671,7 +1672,7 @@ class mega_fft(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -1714,7 +1715,7 @@ class mega_fft(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -1759,7 +1760,7 @@ class mega_fft(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -1784,23 +1785,23 @@ class mega_fft(grc_wxgui.top_block_gui): ################################################## # Connections ################################################## - self.connect((self.blks2_selector_0, 0), (self.wxgui_scopesink2_0, 0)) - self.connect((self.blks2_selector_0_0, 0), (self.blks2_selector_0, 0)) - self.connect((self.blks2_selector_0_0, 1), (self.blocks_complex_to_mag_0, 0)) - self.connect((self.blocks_argmax_xx_0, 1), (self.blocks_null_sink_0, 0)) - self.connect((self.blocks_argmax_xx_0, 0), (self.fft_max_idx_probe, 0)) - self.connect((self.blocks_complex_to_mag_0, 0), (self.blocks_float_to_complex_0, 1)) - self.connect((self.blocks_complex_to_mag_0, 0), (self.blocks_float_to_complex_0, 0)) - self.connect((self.blocks_float_to_complex_0, 0), (self.blks2_selector_0, 1)) - self.connect((self.blocks_max_xx_0, 0), (self.fft_max_lvl_probe, 0)) - self.connect((self.logpwrfft_x_0, 0), (self.blocks_argmax_xx_0, 0)) - self.connect((self.logpwrfft_x_0, 0), (self.blocks_max_xx_0, 0)) - self.connect((self.src, 0), (self.blocks_tag_debug_0, 0)) - self.connect((self.src, 0), (self.blks2_selector_0_0, 0)) - self.connect((self.src, 0), (self.fft_sink, 0)) - self.connect((self.src, 0), (self.waterfall_sink, 0)) - self.connect((self.src, 0), (self.probe_avg_mag, 0)) - self.connect((self.src, 0), (self.logpwrfft_x_0, 0)) + self.connect((self.blks2_selector_0, 0), (self.wxgui_scopesink2_0, 0)) + self.connect((self.blks2_selector_0_0, 0), (self.blks2_selector_0, 0)) + self.connect((self.blks2_selector_0_0, 1), (self.blocks_complex_to_mag_0, 0)) + self.connect((self.blocks_argmax_xx_0, 1), (self.blocks_null_sink_0, 0)) + self.connect((self.blocks_argmax_xx_0, 0), (self.fft_max_idx_probe, 0)) + self.connect((self.blocks_complex_to_mag_0, 0), (self.blocks_float_to_complex_0, 1)) + self.connect((self.blocks_complex_to_mag_0, 0), (self.blocks_float_to_complex_0, 0)) + self.connect((self.blocks_float_to_complex_0, 0), (self.blks2_selector_0, 1)) + self.connect((self.blocks_max_xx_0, 0), (self.fft_max_lvl_probe, 0)) + self.connect((self.logpwrfft_x_0, 0), (self.blocks_argmax_xx_0, 0)) + self.connect((self.logpwrfft_x_0, 0), (self.blocks_max_xx_0, 0)) + self.connect((self.src, 0), (self.blocks_tag_debug_0, 0)) + self.connect((self.src, 0), (self.blks2_selector_0_0, 0)) + self.connect((self.src, 0), (self.fft_sink, 0)) + self.connect((self.src, 0), (self.waterfall_sink, 0)) + self.connect((self.src, 0), (self.probe_avg_mag, 0)) + self.connect((self.src, 0), (self.logpwrfft_x_0, 0)) def get_antenna(self): diff --git a/tools/mega_fft/mega_fft_2ch.py b/tools/mega_fft/mega_fft_2ch.py index c8a74bc26..32543cf6e 100755 --- a/tools/mega_fft/mega_fft_2ch.py +++ b/tools/mega_fft/mega_fft_2ch.py @@ -1,8 +1,9 @@ #!/usr/bin/env python2 ################################################## # GNU Radio Python Flow Graph +# Copyright 2014 National Instruments +# # Title: Mega FFT -# Author: Balint Seeber, Ettus Research # Description: Standard edition, dual-channel # Generated: Sun Jul 26 20:09:53 2015 ################################################## @@ -174,7 +175,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): cpu_format="fc32", channels=range(2), ), - + ) if spec != "": self.src.set_subdev_spec(spec, 0) self.src.set_samp_rate(requested_sample_rate) @@ -222,7 +223,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -263,7 +264,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): self.nb.GetPage(0).Add(self.fft_sink.win) def fft_sink_callback(x, y): self.set_clicked_freq(x) - + self.fft_sink.set_callback(fft_sink_callback) self.waterfall_sink = waterfallsink2.waterfall_sink_c( self.nb.GetPage(2).GetWin(), @@ -284,7 +285,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): self.nb.GetPage(2).Add(self.waterfall_sink.win) def waterfall_sink_callback(x, y): self.set_clicked_freq(x) - + self.waterfall_sink.set_callback(waterfall_sink_callback) self._test_chooser = forms.button( parent=self.nb_test.GetPage(0).GetWin(), @@ -380,7 +381,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -425,7 +426,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -470,7 +471,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -578,7 +579,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -646,7 +647,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): self.nb.GetPage(2).Add(self.waterfall_sink_0.win) def waterfall_sink_0_callback(x, y): self.set_clicked_freq(x) - + self.waterfall_sink_0.set_callback(waterfall_sink_0_callback) self._variable_static_usrp_info_static_text = forms.static_text( parent=self.nb_info.GetPage(0).GetWin(), @@ -776,7 +777,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -820,7 +821,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -865,7 +866,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -910,7 +911,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -954,7 +955,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -999,7 +1000,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -1044,7 +1045,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -1089,7 +1090,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -1134,7 +1135,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -1210,7 +1211,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -1385,7 +1386,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -1476,7 +1477,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -1544,7 +1545,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -1584,7 +1585,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): self.nb.GetPage(0).Add(self.fft_sink_two_1.win) def fft_sink_two_1_callback(x, y): self.set_clicked_freq(x) - + self.fft_sink_two_1.set_callback(fft_sink_two_1_callback) self.fft_max_lvl_probe = blocks.probe_signal_f() if probe_interval > 0: @@ -1702,7 +1703,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -1794,7 +1795,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -1837,7 +1838,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -1882,7 +1883,7 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): de = wx.PyEvent() de.SetEventType(wxEVT_AnyCode) wx.PostEvent(self.GetWin(), de) - except TypeError: + except TypeError: pass except AttributeError: # FIXME print "Cannot post message" @@ -1907,38 +1908,38 @@ class mega_fft_2ch(grc_wxgui.top_block_gui): ################################################## # Connections ################################################## - self.connect((self.blks2_selector_0, 0), (self.wxgui_scopesink2_0, 0)) - self.connect((self.blks2_selector_0_0, 0), (self.blks2_selector_0, 0)) - self.connect((self.blks2_selector_0_0, 1), (self.blocks_complex_to_mag_0, 0)) - self.connect((self.blks2_selector_0_0_0, 0), (self.blks2_selector_0_1, 0)) - self.connect((self.blks2_selector_0_0_0, 1), (self.blocks_complex_to_mag_0_0, 0)) - self.connect((self.blks2_selector_0_1, 0), (self.wxgui_scopesink2_0_0, 0)) - self.connect((self.blocks_argmax_xx_0, 1), (self.blocks_null_sink_0, 0)) - self.connect((self.blocks_argmax_xx_0, 0), (self.fft_max_idx_probe, 0)) - self.connect((self.blocks_argmax_xx_0_0, 1), (self.blocks_null_sink_0_0, 0)) - self.connect((self.blocks_argmax_xx_0_0, 0), (self.fft_max_idx_probe_0, 0)) - self.connect((self.blocks_complex_to_mag_0, 0), (self.blocks_float_to_complex_0, 1)) - self.connect((self.blocks_complex_to_mag_0, 0), (self.blocks_float_to_complex_0, 0)) - self.connect((self.blocks_complex_to_mag_0_0, 0), (self.blocks_float_to_complex_0_0, 1)) - self.connect((self.blocks_complex_to_mag_0_0, 0), (self.blocks_float_to_complex_0_0, 0)) - self.connect((self.blocks_float_to_complex_0, 0), (self.blks2_selector_0, 1)) - self.connect((self.blocks_float_to_complex_0_0, 0), (self.blks2_selector_0_1, 1)) - self.connect((self.blocks_max_xx_0, 0), (self.fft_max_lvl_probe, 0)) - self.connect((self.blocks_max_xx_0_0, 0), (self.fft_max_lvl_probe_2, 0)) - self.connect((self.logpwrfft_x_0, 0), (self.blocks_argmax_xx_0, 0)) - self.connect((self.logpwrfft_x_0, 0), (self.blocks_max_xx_0, 0)) - self.connect((self.logpwrfft_x_0_0, 0), (self.blocks_argmax_xx_0_0, 0)) - self.connect((self.logpwrfft_x_0_0, 0), (self.blocks_max_xx_0_0, 0)) - self.connect((self.src, 0), (self.blocks_tag_debug_0, 0)) - self.connect((self.src, 0), (self.blks2_selector_0_0, 0)) - self.connect((self.src, 0), (self.fft_sink, 0)) - self.connect((self.src, 0), (self.waterfall_sink, 0)) - self.connect((self.src, 0), (self.probe_avg_mag, 0)) - self.connect((self.src, 0), (self.logpwrfft_x_0, 0)) - self.connect((self.src, 1), (self.blks2_selector_0_0_0, 0)) - self.connect((self.src, 1), (self.fft_sink_two_1, 0)) - self.connect((self.src, 1), (self.logpwrfft_x_0_0, 0)) - self.connect((self.src, 1), (self.waterfall_sink_0, 0)) + self.connect((self.blks2_selector_0, 0), (self.wxgui_scopesink2_0, 0)) + self.connect((self.blks2_selector_0_0, 0), (self.blks2_selector_0, 0)) + self.connect((self.blks2_selector_0_0, 1), (self.blocks_complex_to_mag_0, 0)) + self.connect((self.blks2_selector_0_0_0, 0), (self.blks2_selector_0_1, 0)) + self.connect((self.blks2_selector_0_0_0, 1), (self.blocks_complex_to_mag_0_0, 0)) + self.connect((self.blks2_selector_0_1, 0), (self.wxgui_scopesink2_0_0, 0)) + self.connect((self.blocks_argmax_xx_0, 1), (self.blocks_null_sink_0, 0)) + self.connect((self.blocks_argmax_xx_0, 0), (self.fft_max_idx_probe, 0)) + self.connect((self.blocks_argmax_xx_0_0, 1), (self.blocks_null_sink_0_0, 0)) + self.connect((self.blocks_argmax_xx_0_0, 0), (self.fft_max_idx_probe_0, 0)) + self.connect((self.blocks_complex_to_mag_0, 0), (self.blocks_float_to_complex_0, 1)) + self.connect((self.blocks_complex_to_mag_0, 0), (self.blocks_float_to_complex_0, 0)) + self.connect((self.blocks_complex_to_mag_0_0, 0), (self.blocks_float_to_complex_0_0, 1)) + self.connect((self.blocks_complex_to_mag_0_0, 0), (self.blocks_float_to_complex_0_0, 0)) + self.connect((self.blocks_float_to_complex_0, 0), (self.blks2_selector_0, 1)) + self.connect((self.blocks_float_to_complex_0_0, 0), (self.blks2_selector_0_1, 1)) + self.connect((self.blocks_max_xx_0, 0), (self.fft_max_lvl_probe, 0)) + self.connect((self.blocks_max_xx_0_0, 0), (self.fft_max_lvl_probe_2, 0)) + self.connect((self.logpwrfft_x_0, 0), (self.blocks_argmax_xx_0, 0)) + self.connect((self.logpwrfft_x_0, 0), (self.blocks_max_xx_0, 0)) + self.connect((self.logpwrfft_x_0_0, 0), (self.blocks_argmax_xx_0_0, 0)) + self.connect((self.logpwrfft_x_0_0, 0), (self.blocks_max_xx_0_0, 0)) + self.connect((self.src, 0), (self.blocks_tag_debug_0, 0)) + self.connect((self.src, 0), (self.blks2_selector_0_0, 0)) + self.connect((self.src, 0), (self.fft_sink, 0)) + self.connect((self.src, 0), (self.waterfall_sink, 0)) + self.connect((self.src, 0), (self.probe_avg_mag, 0)) + self.connect((self.src, 0), (self.logpwrfft_x_0, 0)) + self.connect((self.src, 1), (self.blks2_selector_0_0_0, 0)) + self.connect((self.src, 1), (self.fft_sink_two_1, 0)) + self.connect((self.src, 1), (self.logpwrfft_x_0_0, 0)) + self.connect((self.src, 1), (self.waterfall_sink_0, 0)) def get_antenna(self): |