The fundamental Python package for wireless signal processing at the physical layer
Project description
WiPhy
WiPhy is an open-source Python package for wireless signal processing at the physical layer, and is mainly developed by Ishikawa Laboratory, Yokohama National University, Japan. This package attempts to facilitate reproducible research in wireless communications. It supports classical wireless technologies, such as MIMO and OFDM, and state-of-the-art technologies, such as index modulation and nonsquare differential coding. This project is derived from IMToolkit, which specializes in index modulation.Key Features
The major advantages of this package are highlighted as follows:
- Incredibly fast. It accelerates bit error ratio and average mutual information simulations by using a state-of-the-art Nvidia GPU and the massively parallel algorithms proposed in [1].
- JIT friendly. It dose not rely on any class and object-oriented programming, which is different from the conventional IMToolkit. It is suitable for both PyPy and Numba. Users are free from the nightmare of complex @jitclass decorations.
- Highly reliable. It has been maintained based on test-driven development, as with other high-quality packages. The simulation results have been used by IEEE journal papers.
Disadvantages
- Some methods are not well documented.
Installation Guide
WiPhy is available from the Python official package repository PyPi.
> pip install wiphy
The WiPhy development team welcomes other researchers' contributions and pull requests. In that case, it would be better to install the latest package and activate the editable mode as follows:
> git clone https://github.com/ishikawalab/wiphy/
> pip install -e ./wiphy # this activates the editable mode
If you use Anaconda, you can install WiPhy as follows.
> git clone https://github.com/ishikawalab/wiphy/
> conda develop ./wiphy
The Anaconda version 4.6.0 or above may also allow the following installation commands.
> conda config --set pip_interop_enabled True
> # for typical users
> pip install wiphy
> # for developers
> git clone https://github.com/ishikawalab/wiphy
> pip install -e ./wiphy
The above installation process requires NumPy, Pandas, SciPy, SymPy, Numba, and tqdm, all of which are popular Python packages. Additionally, it is strongly recommended to install CuPy 5.40+. WiPhy is heavily dependent on CuPy to achieve significantly fast Monte Carlo simulations. The key components required by CuPy are listed here. In case CuPy is not installed in your environment, WiPhy uses NumPy only.
Citations
It would be highly appreciated if you cite the following reference when using WiPhy.
- [1] N. Ishikawa, ``IMToolkit: An open-source index modulation toolkit for reproducible research based on massively parallel algorithms,'' IEEE Access, vol. 7, pp. 93830--93846, July 2019.
Of course, if your project relies on CuPy, the following reference is strongly recommended.
- [2] R. Okuta, Y. Unno, D. Nishino, S. Hido, and C. Loomis, ``CuPy: A NumPy-compatible library for NVIDIA GPU calculations,'' in Conference on Neural Information Processing Systems Workshop, Long Beach, CA, USA, December 4--9, 2017.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.