A Python package for software-defined radio
Project description
sdr
A Python package for software-defined radio.
The sdr
library is a Python 3 package for software-defined radio (SDR).
The goal of sdr
is to provide tools to design, build, and analyze digital communications systems
in Python. The library relies on and is designed to be interoperable with NumPy, SciPy, and Matplotlib.
Performance is also very important. So, where possible, Numba is used to accelerate computationally intensive
functions.
Additionally, the library aims to replicate relevant functionality from Matlab's Communications and DSP Toolboxes.
We are progressively adding functionality to the library. If there is something you'd like to see included
in sdr
, please open an issue on GitHub.
Enjoying the library? Give us a :star: on GitHub!
Features
- Filters:
sdr.FIR
,sdr.IIR
- Pulse shapes:
sdr.raised_cosine()
,sdr.root_raised_cosine()
,sdr.gaussian()
- Arbitrary resamplers:
sdr.FarrowResampler
- Phase-locked loops:
sdr.NCO
,sdr.DDS
,sdr.LoopFilter
,sdr.ClosedLoopPLL
- Measurement:
sdr.papr()
,sdr.crest_factor()
- Data manipulation:
sdr.pack()
,sdr.unpack()
,sdr.hexdump()
- Plotting utilities:
sdr.plot.time_domain()
,sdr.plot.periodogram()
,sdr.plot.spectrogram()
sdr.plot.filter()
,sdr.plot.frequency_response
,sdr.plot.group_delay()
,sdr.plot.impulse_response()
,sdr.plot.step_response()
,sdr.plot.zeros_poles()
Documentation
The documentation for sdr
is located at https://mhostetter.github.io/sdr/latest/.
Install the package
The latest version of sdr
can be installed from PyPI using pip
.
$ python3 -m pip install sdr
Examples
There are detailed examples published at https://mhostetter.github.io/sdr/latest/examples/pulse-shapes/.
The Jupyter notebooks behind the examples are available for experimentation in docs/examples/
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.