1GR_PLOT_PSD(1)                   User Commands                  GR_PLOT_PSD(1)
2
3
4

NAME

6       gr_plot_psd - GNU Radio power spectrum plotting
7

SYNOPSIS

9       gr_plot_psd: [options] input_filename
10

DESCRIPTION

12       Takes  a  GNU  Radio  binary  file  (with  specified  data  type  using
13       --data-type) and displays the I&Q data versus time as well as the power
14       spectral  density  (PSD)  plot.  The y-axis values are plotted assuming
15       volts as the amplitude of the I&Q streams and converted into dBm in the
16       frequency  domain (the 1/N power adjustment out of the FFT is performed
17       internally). The script plots a certain block of data at a time, speci‐
18       fied  on  the  command line as -B or --block. The start position in the
19       file can be set by specifying -s or --start  and  defaults  to  0  (the
20       start  of the file). By default, the system assumes a sample rate of 1,
21       so in time, each sample is plotted versus the sample number. To  set  a
22       true time and frequency axis, set the sample rate (-R or --sample-rate)
23       to the sample rate used when capturing the samples. Finally,  the  size
24       of the FFT to use for the PSD and spectrogram plots can be set indepen‐
25       dently with --psd-size and --spec-size, respectively.  The  spectrogram
26       plot  does  not  display  by  default and is turned on with -S or --en‐
27       able-spec.
28

OPTIONS

30       -h, --help
31              show this help message and exit
32
33       -d DATA_TYPE, --data-type=DATA_TYPE
34              Specify the data type (complex64, float32,  (u)int32,  (u)int16,
35              (u)int8) [default=complex64]
36
37       -B BLOCK, --block=BLOCK
38              Specify the block size [default=8192]
39
40       -s START, --start=START
41              Specify where to start in the file [default=0]
42
43       -R SAMPLE_RATE, --sample-rate=SAMPLE_RATE
44              Set the sampler rate of the data [default=1.0]
45
46       --psd-size=PSD_SIZE
47              Set the size of the PSD FFT [default=1024]
48
49       --spec-size=SPEC_SIZE
50              Set the size of the spectrogram FFT [default=256]
51
52       -S, --enable-spec
53              Turn on plotting the spectrogram [default=False]
54

SEE ALSO

56       gr_plot_psd_c(1) gr_plot_psd_f(1)
57
58
59
60gr_plot_psd 3.10.6.0              2023-08-05                    GR_PLOT_PSD(1)
Impressum