greatscottgadgets / plotsweep

A tool to plot spectrogram images using hackrf_sweep, soapy_power, or rtl_power output.
BSD 3-Clause "New" or "Revised" License
29 stars 5 forks source link
sdr spectrum-analysis

plotsweep

plotsweep is a tool to plot spectrogram images from hackrf_sweep, soapy_power, or rtl_power output.

Installation

  1. Install Rust >= 1.41. See here for options: https://www.rust-lang.org/tools/install
  2. Use cargo to install plotsweep:
    cargo install plotsweep

Example usage

$ hackrf_sweep -f 2400:2500 -l 32 -g 32 -w 100000 > sweep.csv
$ plotsweep sweep.csv example.png --power-min -60 --power-max -15.0 --colormap magma

Example spectrogram showing radio activity within the 2.4GHz ISM band