PySDR: A Guide to SDR and DSP using Python
by Dr. Marc Lichtman - marc@pysdr.org
Welcome to PySDR, a free online textbook (not a Python library!) that provides a gentle introduction to wireless communications and software-defined radio (SDR) using an abundance of diagrams, animations, and Python code examples. From FFTs to filters to digital modulation to receiving and transmitting from SDRs in Python, PySDR has you covered!
The goal of PySDR is to increase accessibility to topics traditionally covered in a math-intensive manner and within a relatively small set of universities. All content used to generate PySDR is open source, and can be found here.
See Chapter 1: Introduction for the textbook's purpose and target audience.
As of Aug 2026, PySDR now has example GNU Radio flowgraphs scattered throughout, allowing the reader to play around with DSP concepts in a web-based GNU Radio environment, thanks to the GNU Radio World project! An example is provided below. If you open GNU Radio World and start playing around, try out the example signal recordings that can be used as a File Source and streamed to your browser; there are dozens of example signals you can play with, most with example flowgraphs to go along with them.
Expand for a list of all GNU Radio World examples in PySDR
- Windowing, FFT Size, and the Waterfall (Frequency Domain)
- Nyquist Sampling and Aliasing (IQ Sampling)
- DC Spike and Offset Tuning (IQ Sampling)
- BPSK vs QPSK vs 16-QAM (Digital Modulation)
- 4-FSK and Frequency Spacing (Digital Modulation)
- AWGN in Time, Frequency, and Distribution (Noise and Random Variables)
- Low-Pass Filtering Out an Interferer (Filters)
- Flat vs Frequency-Selective Fading (Multipath Fading)
- RRC Pulse Shaping, Eye Diagram, and Sampling Instant (Pulse Shaping)
- BPSK Timing and Frequency Synchronization (Synchronization)
- FM Receiver from Recording (SDR Frameworks)
Expand for full table of contents
- 1. Introduction
- 2. Frequency Domain
- 3. IQ Sampling
- 4. Digital Modulation
- 5. PlutoSDR in Python
- 6. USRP in Python
- 7. BladeRF in Python
- 8. RTL-SDR in Python
- 9. HackRF One in Python
- 10. Noise and Random Variables
- 11. Filters
- 12. Link Budgets
- 13. Channel Coding
- 14. IQ Files and SigMF
- 15. Multipath Fading
- 16. Pulse Shaping
- 17. Synchronization
- 18. End-to-End Example with RDS
- 19. Beamforming & DOA
- 20. 2D Beamforming
- 21. Hands-on with Phaser
- 22. Cyclostationary Processing
- 23. Real-Time GUIs with PyQt
- 24. Detection using Correlation
- 25. Analog FPV Video Signals
- 26. TDOA
- 27. SDR Frameworks
- 28. About the Author