35. Roadmap¶
This companion is written slowly, one chapter at a time, and every chapter is chosen by one question: where does C++ let us do a PySDR topic differently, not just transliterate the Python? This page collects the answers we have found so far, chapter by chapter, and the order in which we plan to write them up.
Idea Map: PySDR Chapter by Chapter¶
PySDR chapter |
The C++ angle |
|---|---|
Frequency Domain |
|
IQ Files and SigMF |
Memory-mapped SigMF recordings as |
Noise and dB |
|
Digital Modulation |
Gray-coded constellations as compile-time tables (done in Compile-Time DSP: Filters, Tables and Constellations); constellations as types with O(1) slicers, soft demapping, differential coding as |
Pulse Shaping |
The raised cosine’s \(0/0\) handled exactly (Compile-Time DSP: Filters, Tables and Constellations); polyphase interpolator, RRC and ISI at compile time, eye diagram as an |
Synchronization |
Timing recovery with a compile-time polyphase filter bank (done in Timing Recovery with a Compile-Time Filter Bank); the Costas loop (done in Feedback Loops: the Costas Loop). |
Detection |
GPS C/A codes at compile time, popcount correlation, acquisition (done in Spreading Codes: GPS C/A Codes at Compile Time); CFAR with prefix and running sums and the real-time packet detector as one streaming object (done in CFAR and Real-Time Packet Detection); frequency-offset-resilient correlators and the Zadoff-Chu ridge (done in Correlating Under Frequency Offset). |
Channel Coding |
Hamming codes from PySDR’s rule with compile-time proofs, SECDED, a convolutional code as a type and a soft/hard Viterbi decoder cross-checked with GNU Radio (done in Channel Coding); a quasi-cyclic LDPC code built and checked by the compiler, sum-product, min-sum and fixed-point layered decoders against |
Filters |
FIR storage and fast convolution (done in FIR Filters in C++); IIR filters, subnormals, biquads vs direct form, compile-time Butterworth and stability tests (done in IIR Filters and Denormals). |
RDS |
Computed code tables and a |
Multipath Fading |
Rayleigh fading as vectorized rotators, checked against Rayleigh theory; tapped delay line (done in Multipath Fading as a Channel Object); OFDM transmitter and receiver (done in OFDM: Transmitter and Receiver). |
Cyclostationary Processing |
The CAF as one FFT per lag, frequency smoothing at the kept outputs only, a streaming detector for a known cyclic feature, the FFT accumulation method with batched plans and exact phase factors (done in Cyclostationary Processing). |
DOA / Beamforming |
Array size as a template parameter, streaming covariance, MVDR by Cholesky, MUSIC with a Jacobi eigensolver (done in Beamforming and Direction of Arrival); exact null steering at compile time, LMS, NLMS and sample-matrix inversion (done in Null Steering and LMS). |
TDOA |
Sub-sample peak estimators against GNU Radio’s |
Real-time GUI (PyQt) |
The lock-free queue between DSP and GUI threads (done in Threads and Lock-Free Queues); a waterfall with SDL3 that sees every sample, commands as a |
SDR Frameworks |
GNU Radio blocks in C++ (done in Writing a GNU Radio Block in C++); tags, message ports and a rate-changing |
Link Budgets |
Units in the type system (done in Decibels with a Dimension: a Link Budget the Compiler Checks). |
What Comes Next¶
The fifth round (tags and message ports, LDPC, null steering and LMS, joint TDOA/FDOA, the FFT accumulation method) is written. What is still open, with the C++ angle we would take:
GNU Radio 4 (SDR Frameworks). PySDR’s chapter shows an FM receiver in GR4’s release candidate. The sync detector of Tags, Messages and Bursts in GNU Radio as a GR4 block, whose ports and parameters are C++ types checked at compile time, against the GR3 version.
Geolocation from TDOA and FDOA (TDOA). Two moving sensors locating a fixed emitter from the delay and Doppler of Delay and Doppler: the Ambiguity Function: the Gauss-Newton solver of TDOA: Delays, Peaks and Positions with a Doppler residual.
LDPC across the lifting size (Channel Coding). The \(Z\) checks of a quasi-cyclic layer share no variable, so a layered decoder can process them in SIMD lanes; the book’s 8-bit records fit that well.
The strip spectral correlation analyzer (Cyclostationary). PySDR mentions the SSCA as the frequency-smoothing counterpart of the FAM; one FFT stage per strip as a batched plan.
If you would like a particular PySDR chapter covered next, or you have an idea for a better C++ angle on one of them, that is exactly the kind of feedback this book is built on.