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.2.2.tar.gz (67.0 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.2.2-py3-none-any.whl (65.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for py3gpp-0.2.2.tar.gz
Algorithm Hash digest
SHA256 41504bd1b8fa6b97fd224ed790763240fb569a236b869050b6096def8b266544
MD5 066e37bf7a3a4f22717ac81c4cc9ec9a
BLAKE2b-256 7a6537988d3e2dcae9b5b4f77a465728e1f0eb391e61b43c8dd7b8cbf9f505f5

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for py3gpp-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3a15b94d61c8ceeafcf124fa53ef9fa6950e320dbac5a6983d7dbda0eb889c35
MD5 92fdc946798a2b176ec294b1c2e31b84
BLAKE2b-256 45cf206626605f1df90d78fbbecc624967b92f8affc5255816bb86a2b9e2cb02

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 Pingdom Monitoring Sentry Error logging StatusPage Status page