summaryrefslogtreecommitdiff
path: root/gnuradio-core
diff options
context:
space:
mode:
authorjcorgan2008-07-09 16:36:46 +0000
committerjcorgan2008-07-09 16:36:46 +0000
commit73a2e8ac45347d1c1a12518557fb641dff3233b5 (patch)
tree65b13982a92bc9bcd06e7d8ffd6de28b5fa0e8fd /gnuradio-core
parent7d8ec624a0b832f695d7f91eb7cf4f6359502142 (diff)
downloadgnuradio-73a2e8ac45347d1c1a12518557fb641dff3233b5.tar.gz
gnuradio-73a2e8ac45347d1c1a12518557fb641dff3233b5.tar.bz2
gnuradio-73a2e8ac45347d1c1a12518557fb641dff3233b5.zip
Add some getter methods
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8836 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-core')
-rw-r--r--gnuradio-core/src/python/gnuradio/blks2impl/logpwrfft.py12
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):
"""!