Changeset 9767
- Timestamp:
- 10/10/08 15:13:33
- Files:
-
- gnuradio/trunk/gr-wxgui/src/python/fft_window.py (modified) (2 diffs)
- gnuradio/trunk/gr-wxgui/src/python/waterfall_window.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gnuradio/trunk/gr-wxgui/src/python/fft_window.py
r9637 r9767 150 150 if y_per_div not in DIV_LEVELS: y_per_div = DIV_LEVELS[0] 151 151 #setup 152 self.samples = list() 152 153 self.ext_controller = controller 153 154 self.real = real … … 198 199 Set the dynamic range and reference level. 199 200 """ 201 if not len(self.samples): return 200 202 #get the peak level (max of the samples) 201 203 peak_level = numpy.max(self.samples) gnuradio/trunk/gr-wxgui/src/python/waterfall_window.py
r9637 r9767 169 169 pubsub.pubsub.__init__(self) 170 170 #setup 171 self.samples = list() 171 172 self.ext_controller = controller 172 173 self.real = real … … 221 222 Does not affect the current data in the waterfall. 222 223 """ 224 if not len(self.samples): return 223 225 #get the peak level (max of the samples) 224 226 peak_level = numpy.max(self.samples)
