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.0.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.0-py3-none-any.whl (5.5 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eas_3d_pattern-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 a120b48c46c32b7ef4447a10e2a85379a9400d00f6d13d510b81641557a8f2d7
MD5 51d5accc5b210d8186cdb439922f5ae6
BLAKE2b-256 177882d29874968b081567a816cf4dbfeb268932dde96285d88dbd55c0f2918b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eas_3d_pattern-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6abf02a27912858770874c6ef3618bfaf8fd9f25b18d82c5692c3db1b140a389
MD5 86fc7103f790e93420c48ea41d2b9523
BLAKE2b-256 a931f963e385287637a4e97bd70faf7e9f472e8b7b2fc05347887a16b8ba3af3

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