summaryrefslogtreecommitdiff
path: root/gr-utils/plot_tools/gr_plot_fft
blob: e57eb234d1be5ba617ad1cb202cceab714d0453c (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
25
26
27
28
#!/usr/bin/env python
#
# Copyright 2012 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
#

from gnuradio.plot_fft_base import plot_fft_base

# This is a wrapper program for plot_fft_base. It handles any data
# type and defaults to complex64.


def main():
    parser = plot_fft_base.setup_options()
    args = parser.parse_args()

    plot_fft_base(None, args.file, args)


if __name__ == "__main__":
    try:
        main()
    except KeyboardInterrupt:
        pass