Kludge Tracker: Gnuradio - v3.4.0-101-g7e2b45b

Parent Directory (gnuradio/gr-radio-astronomy/src)

Kludge Summary of gnuradio/gr-radio-astronomy/src/python

Total Kludges 7
Total Subdirs 0

All Directories within gnuradio/gr-radio-astronomy/src/python

All Files within gnuradio/gr-radio-astronomy/src/python

Kludge Snippets in gnuradio/gr-radio-astronomy/src/python

gnuradio/gr-radio-astronomy/src/python/ra_waterfallsink.py — 1

PyFlakes redefinition of function 'const_list' from line 300
Committer mleech
Commit ID 42fde01ca6704b0ab721e35a7225daadb6cbefc0
379                            break
380                        dc.DrawLine( t - x, e[1] + 1, t - x, self.h_scale )
381                    f += self.ax_spec[1]
382        
383            def const_list(self,const,len):
384                a = [const]
385                for i in range(1,len):
386                    a.append(const)
387                return a
				

gnuradio/gr-radio-astronomy/src/python/ra_waterfallsink.py — 2

PyFlakes redefinition of function 'make_colormap' from line 303
Committer mleech
Commit ID 42fde01ca6704b0ab721e35a7225daadb6cbefc0
385                for i in range(1,len):
386                    a.append(const)
387                return a
388        
389            def make_colormap(self):
390                r = []
391                r.extend(self.const_list(0,96))
392                r.extend(range(0,255,4))
393                r.extend(self.const_list(255,64))
				

gnuradio/gr-radio-astronomy/src/python/ra_waterfallsink.py — 3

PyFlakes undefined name 'dc1'
Committer mleech
Commit ID deb2f30daebaeb9c5e2aa64278bdd8cc7e28ed61
421                    #         wx.COPY,False,-1,-1)
422                    pass
423                else:
424                    for i in range( self.bm_size[1]-1, 0, -1 ):
425                        dc1.Blit( 0, i, self.bm_size[0], 1, dc1, 0, i-1 )
426        
427                x = max(abs(self.fftsink.sample_rate), abs(self.fftsink.baseband_freq))
428                if x >= 1e9:
429                    sf = 1e-9
				

gnuradio/gr-radio-astronomy/src/python/ra_waterfallsink.py — 4

PyFlakes undefined name 'dc1'
Committer mleech
Commit ID deb2f30daebaeb9c5e2aa64278bdd8cc7e28ed61
421                    #         wx.COPY,False,-1,-1)
422                    pass
423                else:
424                    for i in range( self.bm_size[1]-1, 0, -1 ):
425                        dc1.Blit( 0, i, self.bm_size[0], 1, dc1, 0, i-1 )
426        
427                x = max(abs(self.fftsink.sample_rate), abs(self.fftsink.baseband_freq))
428                if x >= 1e9:
429                    sf = 1e-9
				

gnuradio/gr-radio-astronomy/src/python/usrp_psr_receiver.py

Category FIXME
Committer jcorgan
Commit ID 5d69a524f81f234b3fbc41d49ba18d6f6886baba
572        
573            def _build_subpanel(self, vbox_arg):
574                # build a secondary information panel (sometimes hidden)
575        
576                # FIXME figure out how to have this be a subpanel that is always
577                # created, but has its visibility controlled by foo.Show(True/False)
578                
579                if not(self.show_debug_info):
580                    return
				

gnuradio/gr-radio-astronomy/src/python/usrp_ra_receiver.py — 1

PyFlakes undefined name 'usrp2'
Committer mleech
Commit ID 6a6eb191a0aa6f36aa40a38bfaf360f6e993339b
1371        		else:
1372        			if (self.dual_mode == True or self.interferometer == True):
1373        				print "Cannot use dual_mode or interferometer with single USRP2"
1374        				sys.exit(1)
1375        			self.u = usrp2.source_32fc(self.interface, self.mac_addr)
1376        			self.u.set_decim (self.decim)
1377        			self.cardtype = self.u.daughterboard_id()
1378        
1379        def main ():
				

gnuradio/gr-radio-astronomy/src/python/usrp_ra_receiver.py — 2

Category FIXME
Committer mleech
Commit ID c500829e18e017e53ebcf57d0a9b85b6b1cd6ffa
554        
555        	def _build_subpanel(self, vbox_arg):
556        		# build a secondary information panel (sometimes hidden)
557        
558        		# FIXME figure out how to have this be a subpanel that is always
559        		# created, but has its visibility controlled by foo.Show(True/False)
560        		
561        		if not(self.show_debug_info):
562        			return