Git Product home page Git Product logo

qspectrumanalyzer's Introduction

Important note!

If you're here for hackrf_sweep support, it has now been merged upstream so go there instead :) https://github.com/xmikos/qspectrumanalyzer

QSpectrumAnalyzer

Spectrum analyzer for RTL-SDR (GUI for rtl_power based on PyQtGraph)

Screenshots

https://xmikos.github.io/qspectrumanalyzer/qspectrumanalyzer_screenshot.png

https://xmikos.github.io/qspectrumanalyzer/qspectrumanalyzer_screenshot2.png

Requirements

You should use Keenerds fork of rtl-sdr (latest Git revision), because rtl_power in original rtl-sdr (from osmocom.org) is broken (especially when used with cropping).

Another alternative is rtl_power_fftw which has various benefits over rtl_power. E.g. better FFT performance (thanks to use of fftw library) and possibility to use much shorter acquisition time for more real-time continuous measurement (minimum interval in original rtl_power is 1 second, but in rtl_power_fftw you are only limited by number of frequency hops).

Usage

Start QSpectrumAnalyzer by running qspectrumanalyzer.

You can choose if you want to use rtl_power or rtl_power_fftw backend in File -> Settings (default is rtl_power). Path to rtl_power (or rtl_power_fftw) executable can be also manually specified there. You can also set waterfall plot history size in there. Default is 100 lines, be aware that really large sweeps (with a lot of bins) would require a lot of system memory, so don't make this number too big.

Controls should be intuitive, but if you want consistent results, you should turn off automatic gain control (set it to some fixed number) and also set crop to 20% or more. For finding out ppm correction factor for your rtl-sdr stick, use kalibrate-rtl.

You can move and zoom plot with mouse, change plot settings or export plots from right-click menu. Waterfall plot black/white levels and color lookup table can be changed in mini-histogram widget (on Levels tab).

Installation

Arch Linux:

git clone https://aur.archlinux.org/qspectrumanalyzer.git
cd qspectrumanalyzer
makepkg -sri

Or simply use pacaur (or any other AUR helper):

pacaur -S qspectrumanalyzer

Debian / Ubuntu:

sudo apt-get install python3-pip python3-pyqt4 python3-numpy
sudo pip3 install qspectrumanalyzer

Warning! pip will install packages system-wide by default, but you should always use your distribution package manager for this.

You can install it locally only for your current user by running this (without sudo):

pip3 install --user qspectrumanalyzer

Executables will be then placed in ~/.local/bin directory, you can add it to your PATH in ~/.bashrc.

Todo:

  • automatic peak detection / highlighting
  • display average noise level
  • frequency markers / bookmarks with notes (even importing / exporting .csv file with predefined channels, etc.)

qspectrumanalyzer's People

Contributors

xmikos avatar mossmann avatar miek avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.