summaryrefslogtreecommitdiff
path: root/gr-fft/python/fft/__init__.py
blob: ac01ea2cc608156b542bd04752902ece9d3c5411 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
# Copyright 2012 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
#

'''
Fourier-transform blocks and related functions.
'''

from __future__ import absolute_import
from __future__ import unicode_literals

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 *