summaryrefslogtreecommitdiff
path: root/gr-utils/src/python/README.plot
blob: 60f14c669c05ae9f8642420ce1bdefba69a39b32 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
* gr_plot_*:
These are a collection of Python scripts to enable viewing and
analysis of files produced by GNU Radio flow graphs. Most of them work
off complex data produced by digital waveforms.


** gr_plot_float:
Takes a GNU Radio floating point binary file and displays the samples
versus time. You can set the block size to specify how many points to
read in at a time and the start position in the file.

By default, the system assumes a sample rate of 1, so in time, each
sample is plotted versus the sample number. To set a true time axis,
set the sample rate (-R or --sample-rate) to the sample rate used when
capturing the samples.



** gr_plot_iq:
Takes a GNU Radio complex binary file and displays the I&Q data versus
time. You can set the block size to specify how many points to read in
at a time and the start position in the file.

By default, the system assumes a sample rate of 1, so in time, each
sample is plotted versus the sample number. To set a true time axis,
set the sample rate (-R or --sample-rate) to the sample rate used when
capturing the samples.



** gr_plot_const:
Takes a GNU Radio complex binary file and displays the I&Q data versus
time and the constellation plot (I vs. Q). You can set the block size
to specify how many points to read in at a time and the start position
in the file.

By default, the system assumes a sample rate of 1, so in time, each
sample is plotted versus the sample number. To set a true time axis,
set the sample rate (-R or --sample-rate) to the sample rate used when
capturing the samples.



** gr_plot_fft_c:
Takes a GNU Radio complex binary file and displays the I&Q data versus
time as well as the frequency domain (FFT) plot. The y-axis values are
plotted assuming volts as the amplitude of the I&Q streams and
converted into dBm in the frequency domain (the 1/N power adjustment
out of the FFT is performed internally).

The script plots a certain block of data at a time, specified on the
command line as -B or --block. This value defaults to 1000. The start
position in the file can be set by specifying -s or --start and
defaults to 0 (the start of the file).

By default, the system assumes a sample rate of 1, so in time, each
sample is plotted versus the sample number. To set a true time and
frequency axis, set the sample rate (-R or --sample-rate) to the
sample rate used when capturing the samples.



** gr_plot_fft_f:
Takes a GNU Radio floating point binary file and displays the samples
versus time as well as the frequency domain (FFT) plot. The y-axis
values are plotted assuming volts as the amplitude of the I&Q streams
and converted into dBm in the frequency domain (the 1/N power
adjustment out of the FFT is performed internally).

The script plots a certain block of data at a time, specified on the
command line as -B or --block. This value defaults to 1000. The start
position in the file can be set by specifying -s or --start and
defaults to 0 (the start of the file).

By default, the system assumes a sample rate of 1, so in time, each
sample is plotted versus the sample number. To set a true time and
frequency axis, set the sample rate (-R or --sample-rate) to the
sample rate used when capturing the samples.


** gr_plot_fft:
Takes a GNU Radio binary file (the datatype is specified using the -d
option and defaults to complex64) and displays the samples versus time
as well as the frequency domain (FFT) plot. The y-axis values are
plotted assuming volts as the amplitude of the I&Q streams and
converted into dBm in the frequency domain (the 1/N power adjustment
out of the FFT is performed internally).

The script plots a certain block of data at a time, specified on the
command line as -B or --block. This value defaults to 1000. The start
position in the file can be set by specifying -s or --start and
defaults to 0 (the start of the file).

By default, the system assumes a sample rate of 1, so in time, each
sample is plotted versus the sample number. To set a true time and
frequency axis, set the sample rate (-R or --sample-rate) to the
sample rate used when capturing the samples.