百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
R

rtl-power-fftw

> 编程语言
开源

RTLSDR 适配器的功率频谱。

190 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

RTLSDR 适配器的功率频谱。

rtl_power_fftw

rtl_power_fftw is a program that obtains a power spectrum from RTL devices using the FFTW library to do FFT.

It is inspired by the program rtl_power in librtlsdr. However, the said program has several deficiencies that limit its usage in demanding environments, such as radio astronomy. An inspection of rtl_power in hope of modifying it and obtaining better performance resulted in the conclusion that it would be an unfeasible task. Measurements of FFT performance showed that the leading library in the field of FFT - fftw - makes mincemeat of the routine used in rtl_power, even on simple processors such as raspberryPi. Therefore, the following requirements for a program to obtain power spectrum from rtlsdr devices were set out:

  • the new program should use the fftw library
  • it will (of course) use librtlsdr to interface device
  • it should process spectra in a separate thread from data acquisition, to optimize observation time (continuous sampling)
  • it should be friendly to use and adhere to the UNIX philosophy of only doing one thing, but doing it well
  • the output of the program should be easy to further use with the standard tools (like gnuplot).

The desire to have simple code to handle option parsing lead to the choice of TCLAP and therefore C++. This further meant that to implement things in a neat way, C++11 functionality snuck into the program and therefore a modern, C++11 enabled compiler is needed to compile rtl_power_fftw.

Prerequisites

In order to prepare your environment to build from the sources you have to first install a couple of development libraries. This step is needed only the first time.

bash
sudo apt-get install libfftw3-dev libtclap-dev librtlsdr-dev pkg-config

Installation

To compile the program, cd into the directory where you have cloned the code and do:

bash
mkdir build
cd build
cmake ..
make

This should make the rtl_power_fftw binary in the build directory. If you copy it into a directory in your PATH, you can call it from everywhere. You can also do make install and by default it will be copied to /usr/local/bin.

Documentation

The man page of rtl_power_fftw is available here. It is maintained in Markdown format suitable for reading online, but it is also converted into a regular man page that gets installed along with the program.

TODO:

  • ... (there's always something, isn't it?!)

Many thanks to Andrej Lajovic for cleaning up the C++ code, implementing a better buffer handling system and relentlessly improving the program.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C++rtl-powerrtl-sdrsdr

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言