Skip to main content

A tool to visualize 3D antenna pattern files in JSON format.

Project description

eas-3d-pattern

PyPI version PyPI - Python Version PyPI - License Linter: Ruff

eas-3d-pattern is python library to visualize and make simple beam efficiency calculations on 3D antenna pattern data which follows the NGMN BASTA schema.

Installation

Use the package manager pip to install eas-3d-pattern.

pip install eas-3d-pattern

Usage

from eas_3d_pattern import AntennaPattern, SAMPLE_JSON

pattern = AntennaPattern(SAMPLE_JSON[0], validate=True) # reads a JSON and validates schema
pattern.calculate_beam_efficiency() # Calculates beam efficiency for standard EAS regions
pattern.plot() # plots an interactive heatmap of the normalized antenna pattern

For further examples, please check the example notebooks

Resources

Features

  • Loads and validates NGMN JSON schema from NGMN homepage (fallback if no internet access)
  • Parses various JSON structures from different sources with ease
  • Beam efficiency calculation
  • Custom rectangular and default sector definitions
  • Interactive visualization of 3D antenna pattern

To-Do

  • Add tests / CICD
  • Add different calculation methods
  • Add more complex sector shapes
  • Plot sector regions
  • Improve interface to work with multiple JSON files

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

eas_3d_pattern-0.1.3.tar.gz (5.4 MB view details)

Uploaded Source

Built Distribution

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

eas_3d_pattern-0.1.3-py3-none-any.whl (5.5 MB view details)

Uploaded Python 3

File details

Details for the file eas_3d_pattern-0.1.3.tar.gz.

File metadata

  • Download URL: eas_3d_pattern-0.1.3.tar.gz
  • Upload date:
  • Size: 5.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.9 Windows/10

File hashes

Hashes for eas_3d_pattern-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e3b32f1136067e26115fed002fc567e57f626c25cbca7d822b2dcce9bc60b6b1
MD5 3162c24d7af8096d96039ad0b88d2622
BLAKE2b-256 827a8bfd91221f0c09f39a32e6092a06c67003b2aeb0dd9bb2d8db110fd8ef1b

See more details on using hashes here.

File details

Details for the file eas_3d_pattern-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: eas_3d_pattern-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.9 Windows/10

File hashes

Hashes for eas_3d_pattern-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 58e7c50510f6409e2a28aa7d2a55b1daf54bebb3ab0412cb01152e577f970a45
MD5 ae58a8ff0c7280d051a94f8a33dcffe8
BLAKE2b-256 ed158cbc2fc526434afcc1ab0599d79cdb5774e674e0c4cbc24389c29b0cc8ca

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