diff options
Diffstat (limited to 'gr-wxgui/src/python/fftsink_gl.py')
-rw-r--r-- | gr-wxgui/src/python/fftsink_gl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-wxgui/src/python/fftsink_gl.py b/gr-wxgui/src/python/fftsink_gl.py index 6cfaeff60..6b268f6cb 100644 --- a/gr-wxgui/src/python/fftsink_gl.py +++ b/gr-wxgui/src/python/fftsink_gl.py @@ -63,14 +63,14 @@ class _fft_sink_base(gr.hier_block2, common.wxgui_hb): #ensure avg alpha if avg_alpha is None: avg_alpha = 2.0/fft_rate #ensure analog alpha - if persist_alpha is None: + if persist_alpha is None: actual_fft_rate=float(sample_rate/fft_size)/float(max(1,int(float((sample_rate/fft_size)/fft_rate)))) #print "requested_fft_rate ",fft_rate #print "actual_fft_rate ",actual_fft_rate analog_cutoff_freq=0.5 # Hertz #calculate alpha from wanted cutoff freq persist_alpha = 1.0 - math.exp(-2.0*math.pi*analog_cutoff_freq/actual_fft_rate) - + #init gr.hier_block2.__init__( self, |