Skip to main content

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

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.4.0.tar.gz (71.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py3gpp-0.4.0-py3-none-any.whl (70.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py3gpp-0.4.0.tar.gz
  • Upload date:
  • Size: 71.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for py3gpp-0.4.0.tar.gz
Algorithm Hash digest
SHA256 7e83d94e2fc001d5f0c7e43e2bd7d4a4544608bb760815cfeda91bb69d84e20b
MD5 66bbbd053e8bcfd5c8ce06de07bd5596
BLAKE2b-256 6c4f6f7c58c44bc747a581c50d352f1c2553ed06a1badb02ef14826e117d2c40

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py3gpp-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 70.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for py3gpp-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0bddf21e5ed4b128380acc74e2b57010fbdb0dc1c49b2eef7f6d8b4639403dc6
MD5 8a0fdbaa434bdad90112653ae959d4f6
BLAKE2b-256 d99ac1310fe86ccfe95eb1c6b97fd8ea2cc16511d09dccb0f573d6bf806787c3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page