Skip to main content

Functions for 5G NR signal processing

Project description

CI Pylint PyPI version Downloads

Summary

This python package aims to replace the Matlab 5G Toolbox in Python. The call syntax of functions is the same as in matlab where possible. There are some differences, because matlab allows to continuously index a multidimensional array in one axis. In python this is not possible, therefore the result of functions like nrPBCHIndices() is also multidimensional here to make it compatible with Python.

Installation

'python3 -m pip install py3gpp' or clone this repo and then do 'python3 -m pip install -e .'

Getting started

run 'examples/test_py3gpp.ipynb'

The example data is ideal data generated with Matlab, but the code has been tested with real data that has CFO, SFO and noise.

Documentation

See Matlab documentation of equivalent function

Coding Guideline

Formatting

  • Screen width 120
  • spaces on each side of math operators like +-*/

Testing

  • Each function must have a hard-coded test that can run on CI
  • Each function should have a Matlab test that can run on a machine with Matlab license
  • Hard-coded test cases should cover the most common argument combinations
  • Matlab tests should cover more argument combinations than the hard-coded tests

Function interface

  • Functions should return numpy arrays if the return value is an array
  • Functions should accept numpy arrays and python lists if an input value is an array
  • Config objects should have a getter and setter method and declare the internal variable with underscore at the beginning
  • Input arguments should be checked and a 'ValueError' or 'TypeError' should be raised if an argument is not correct

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py3gpp-0.6.0.tar.gz (74.4 kB view details)

Uploaded Source

Built Distribution

py3gpp-0.6.0-py3-none-any.whl (73.5 kB view details)

Uploaded Python 3

File details

Details for the file py3gpp-0.6.0.tar.gz.

File metadata

  • Download URL: py3gpp-0.6.0.tar.gz
  • Upload date:
  • Size: 74.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.15

File hashes

Hashes for py3gpp-0.6.0.tar.gz
Algorithm Hash digest
SHA256 3be77982db0474b57f9972e9623175004fc7f775ccc9e4d66327bf0b1d197a5d
MD5 b2d8f0c2bc72a7d72bb6eceb9d175b59
BLAKE2b-256 5db3d41b0f7b9de90232bd04ce33f5f18f8a7ba4a442a66eb13e7bb7303520af

See more details on using hashes here.

File details

Details for the file py3gpp-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: py3gpp-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 73.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.15

File hashes

Hashes for py3gpp-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1182b03eed6aa44e1af49df827d2712206189a620fd85985e7b795bef11c9aa9
MD5 aba087e69878b5266fb060b40e44da7c
BLAKE2b-256 76bbffa45c708b4616c6f66dcb9a6bbfa850bd3bf7a9d4c4379cf38dee7b9ce9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page