Simulation of digital communication (physical layer) in python
Simulation of Digital Communication (physical layer) in Python.
This includes classes related to digital modulation (M-QAM, M-PSK, etc), AWGN channel, Rayleigh and tapped delay line channel models, channel estimation, MIMO, OFDM, etc.. It also includes classes related to multiuser transmission, such as block diagonalization, interference alignment, etc., as well as classes representing access nodes and users for easily creating physical layer simulations.
Furthermore, a framework for implementing Monte Carlo simulations is also implemented (see the pyphysim.simulations package) to help with creating simulators that run many independent realizations and average the results.
Pyphysim is available in Pypi and can be
installed with pip or similar tools. If you want to install from the git
repository, then install poetry first, clone the
repository, and run the command
poetry install from the cloned folder to
install pyphysim and its dependencies in a virtual environment (created by
poetry). After that, just use
poetry shell to activate the environment and you
should be able to import pyphysim from python started in that shell.
There are a few notebooks in the notebooks folder in the GitHub repository. A list of some of the notebooks with a small description is shown below for quick access.
- Transmission_with_AWGN_channel.ipynb: Illustrates the use of digital modulation to transmit through an AWGN channel and the usage of classes that help creating Monte Carlo simulations
- Transmission_with_Rayleigh_and_AWGN_channels.ipynb: Extends the previous notebook to transmission through a Rayleigh channel and discuss running simulation
- TDL_and_OFDM.ipynb: Simulation of transmission through a frequency selective channel that varies in time using OFDM
- PathLoss classes.ipynb: Illustrate some path loss classes
- Alamouti.ipynb: Illustrates how to simulate using multiple antennas and how to use configuration files
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pyphysim-0.7.2-py3-none-any.whl (2.8 MB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size pyphysim-0.7.2.tar.gz (2.3 MB)||File type Source||Python version None||Upload date||Hashes View|