diff options
Diffstat (limited to 'gnuradio-core/src')
-rw-r--r-- | gnuradio-core/src/python/gnuradio/blks2impl/logpwrfft.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gnuradio-core/src/python/gnuradio/blks2impl/logpwrfft.py b/gnuradio-core/src/python/gnuradio/blks2impl/logpwrfft.py index 15f58d4b1..195aefa19 100644 --- a/gnuradio-core/src/python/gnuradio/blks2impl/logpwrfft.py +++ b/gnuradio-core/src/python/gnuradio/blks2impl/logpwrfft.py @@ -88,6 +88,18 @@ class _logpwrfft_base(gr.hier_block2): self._avg_alpha = avg_alpha self.set_average(self._average) + def average(self): + """! + Return whether or not averaging is being performed. + """ + return self._average + + def avg_alpha(self): + """! + Return averaging filter constant. + """ + return self._avg_alpha + class logpwrfft_f(_logpwrfft_base): """! |