Skip to content

API reference

Every public package, rendered from its docstrings. The design (model, categories, contracts, streaming rules) is rpps.base.

Package What it is
rpps RPPS: RF Parameter Processor Suite, a generic signal processor/generator library
rpps.source Signal sources and sinks: files, radios and memory (on pysdrlib), sockets, SigMF recordings, WAV, channels in shared memory (ShmSink; received with Device("shm@...")); and packets: pcapng for Wireshark, live or in a file (PcapSink, read back with Pcap), and a Linux TUN/TAP interface both ways (Tun)
rpps.signal Conditioning: samples to samples, without knowing what signal they carry
rpps.sync Sync: estimate something unknown about the data and correct or align it, at whatever representation it can be separated
rpps.wave Waveform layer: streaming stages between symbols and samples (data + stage)
rpps.symbol Modulation: the symbol layer (channel bits <-> symbols, * and /); the waveform layer is rpps.wave
rpps.code Code transform: channel bits <-> data bits
rpps.link Link transform: data bits <-> packets: framing (HDLC, byte stuffing) and integrity checks (CRC, composite, checksum), defined in config/crc, config/frame and config/header/link. Decoding refuses channel bits: decode them first (or rp.code.Uncoded() for no FEC)
rpps.grid Resource grids of OFDM systems: cell search, the grid of each subframe with its channel estimates, and the physical channels read off it
rpps.profile Profiles: a whole signal as one config file, in receive order, both directions
rpps.parallel Parallel processing of frames: a profile's frame-parallel region
rpps.sequence The sequence resource: bit and chip sequences, config/sequence//.json
rpps.plan Burst time plans: when, and on which carrier, each burst of a TDMA / MF-TDMA return link is, and what it is
rpps.analysis Analysis: blind estimation and measurement at any representation, outside the data path. The tree follows what is analysed, the way config/ and the implementation packages do:
rpps.base The design: data, operators, categories, contracts and the streaming rules
rpps.math Shared maths: finite fields, GF(2) linear algebra, cyclic-code decoding, probability, interpolation, rolling percentiles, runs of a mask, least squares, bit tricks
rpps.utils Generic helpers
rpps.viz Visualization helpers. rpps' figures use STYLE (a matplotlib style, default "dark_background"; None: whatever matplotlib is set to); importing this module no longer changes the style of anyone else's figures