summaryrefslogtreecommitdiff
path: root/gr-utils/plot_tools/gr_plot_fft
blob: 9851c080072370f4d1753fb2578248feedfc5e11 (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
#!/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