diff options
Diffstat (limited to 'gr-fft/python/fft/fft_vfc.py')
-rw-r--r-- | gr-fft/python/fft/fft_vfc.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gr-fft/python/fft/fft_vfc.py b/gr-fft/python/fft/fft_vfc.py new file mode 100644 index 0000000000..5194b72f29 --- /dev/null +++ b/gr-fft/python/fft/fft_vfc.py @@ -0,0 +1,22 @@ +# +# Copyright 2020 Free Software Foundation, Inc. +# +# This file is part of GNU Radio +# +# SPDX-License-Identifier: GPL-3.0-or-later +# +# + +from . import fft_python as fft + + +class fft_vfc(): + def __new__(self, fft_size, + forward, + window, + shift=False, + nthreads=1): + if forward: + return fft.fft_vfc_fwd(fft_size, window, shift, nthreads) + else: + return fft.fft_vfc_rev(fft_size, window, shift, nthreads) |