GR_PLOT_FFT(1)
π GR_PLOT_FFT π
okay bestie, welcome to gr_plot_fft β it's a User Command, it lives in section 1 of the manual, and it is literally the frequency-domain plotting glow-up for GNU Radio. yes we're doing FFTs today. no cap. β¨
πΈ NAME πΈ
gr_plot_fft β Frequency domain GNU Radio plotting π¦
π SYNOPSIS π
gr_plot_fft: [options] input_filename
likeβ¦ that's it. that's the whole vibe. give it a file, it gives you plots. π
β¨ DESCRIPTION β¨
So here's the tea β β this script takes a GNU Radio complex binary file and shows you the I&Q data versus time and the frequency domain (FFT) plot. Two plots. One icon. π
About those y-axis values, because this part matters: they're plotted assuming volts as the amplitude of the I&Q streams, and then converted into dBm in the frequency domain β and yes, the 1/N power adjustment out of the FFT is performed internally, so you don't gotta do it yourself. the script handled it. main character energy fr fr. π₯
It plots a certain block of data at a time, and you specify that block on the command line with -B or --block. That value defaults to 1000.
Where does it start in the file? That's -s or --start, and it defaults to 0 β aka the start of the file, the very beginning, the origin story. π±
And lowkey the most important part: by default, the system assumes a sample rate of 1, so in time, each sample is just plotted versus the sample number. If you want a true time and frequency axis (and you do, bestie, you do), set the sample rate with -R or --sample-rate to the sample rate that was used when capturing the samples. then your axes will actually mean something. slay. π
π OPTIONS π
-h,--helpβ show this help message and exit π«Ά (the classic. the icon. the moment.)-d DATA_TYPE,--data-type=DATA_TYPEβ Specify the data type (complex64,float32,(u)int32,(u)int16,(u)int8) [default=complex64] π§-B BLOCK,--block=BLOCKβ Specify the block size [default=1000] π-s START,--start=STARTβ Specify where to start in the file [default=0] πΈ-R SAMPLE_RATE,--sample-rate=SAMPLE_RATEβ Set the sampler rate of the data [default=1.0] β
ngl, the default sample rate of1.0is giving "just vibes" β if you want your frequency axis to be real, pass-R. π
π SEE ALSO π
gr_plot_fft_c(1)gr_plot_fft_f(1)
and that's the whole page, bestie!! π¦ you ate. go plot something gorgeous. π
this masterpiece is brought to you by gr_plot_fft version 3.10.12.0, dated 2026-01-03 β periodt. πβ¨
π¦ where this page comes from
- fedora 43: gnuradio 3.10.12.0-10.fc43 Β· GPL-3.0-or-later
- fedora 43: gnuradio 3.10.12.0-10.fc43 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms