Simulation of digital communication (physical layer) in python
Project description
PyPhysim
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.
Installation
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.
Examples
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
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.
Source Distribution
Built Distribution
File details
Details for the file pyphysim-0.5.tar.gz
.
File metadata
- Download URL: pyphysim-0.5.tar.gz
- Upload date:
- Size: 213.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.4 Linux/5.7.10-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d887d81e3d2a59820a6c25de6f04e22904e3cdfa061292bb1454f3afc054323 |
|
MD5 | cb6082fd9907ef6fb1a8244f59607097 |
|
BLAKE2b-256 | 6d54f9e2df49c2141421f1841c6b4c75a8695b90cb63bbcb698ad5eb28c613c0 |
File details
Details for the file pyphysim-0.5-py3-none-any.whl
.
File metadata
- Download URL: pyphysim-0.5-py3-none-any.whl
- Upload date:
- Size: 242.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.4 Linux/5.7.10-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 614a8527c198c273bdcafffa794b8cb24043126da59671fc5ba7cd0142225d76 |
|
MD5 | 4875a053e52f14b487e4be79673e0ab1 |
|
BLAKE2b-256 | 16af83d3565c9c6be807f5c40a906b83af101b3b61fd464cb8d001eb7802f1e9 |