commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r8062 - gnuradio/branches/developers/michaelld/wxgui/g


From: michaelld
Subject: [Commit-gnuradio] r8062 - gnuradio/branches/developers/michaelld/wxgui/gr-wxgui/src/python
Date: Thu, 20 Mar 2008 07:46:20 -0600 (MDT)

Author: michaelld
Date: 2008-03-20 07:46:19 -0600 (Thu, 20 Mar 2008)
New Revision: 8062

Modified:
   gnuradio/branches/developers/michaelld/wxgui/gr-wxgui/src/python/fftsink2.py
Log:
Fixes bug where the pointer is on the window before data is available,
so motion events would produce errors until data becomes available.



Modified: 
gnuradio/branches/developers/michaelld/wxgui/gr-wxgui/src/python/fftsink2.py
===================================================================
--- 
gnuradio/branches/developers/michaelld/wxgui/gr-wxgui/src/python/fftsink2.py    
    2008-03-20 06:56:44 UTC (rev 8061)
+++ 
gnuradio/branches/developers/michaelld/wxgui/gr-wxgui/src/python/fftsink2.py    
    2008-03-20 13:46:19 UTC (rev 8062)
@@ -176,7 +176,8 @@
         self.fftsink = fftsink
         self.peak_hold = False
         self.peak_vals = None
-        
+        self._points = numpy.zeros ((fftsink.fft_size, 2), numpy.float64)
+
         self.SetEnableGrid (True)
         # self.SetEnableZoom (True)
         # self.SetBackgroundColour ('black')





reply via email to

[Prev in Thread] Current Thread [Next in Thread]