summaryrefslogtreecommitdiff
path: root/gr-fft/python/fft/__init__.py
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2013-06-04 13:01:12 -0400
committerJohnathan Corgan <johnathan@corganlabs.com>2013-06-04 13:01:12 -0400
commit8caec1685af6a53f7b1395983e840b778b1b4c4b (patch)
tree7ce40a12311d06508bc3722514d5725b96197b90 /gr-fft/python/fft/__init__.py
parentfc3f03eeba43ed55b45a7508cd519559cbb1ecf4 (diff)
parent48f3452530b29627ce57089b65363776dbe9a179 (diff)
Merge remote-tracking branch 'reynwar/uninstalled_imports' into merge-inplace
Diffstat (limited to 'gr-fft/python/fft/__init__.py')
-rw-r--r--gr-fft/python/fft/__init__.py34
1 files changed, 34 insertions, 0 deletions
diff --git a/gr-fft/python/fft/__init__.py b/gr-fft/python/fft/__init__.py
new file mode 100644
index 0000000000..e0803cbf38
--- /dev/null
+++ b/gr-fft/python/fft/__init__.py
@@ -0,0 +1,34 @@
+#
+# Copyright 2012 Free Software Foundation, Inc.
+#
+# This file is part of GNU Radio
+#
+# GNU Radio is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# GNU Radio is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNU Radio; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 51 Franklin Street,
+# Boston, MA 02110-1301, USA.
+#
+
+'''
+Fourier-transform blocks and related functions.
+'''
+import os
+
+try:
+ from fft_swig import *
+except ImportError:
+ dirname, filename = os.path.split(os.path.abspath(__file__))
+ __path__.append(os.path.join(dirname, "..", "..", "swig"))
+ from fft_swig import *
+
+from window import *