eas-3d-pattern


Nameeas-3d-pattern JSON
Version 0.1.2 PyPI version JSON
download
home_pagehttps://www.ericsson.com/antenna-system
SummaryA tool to visualize 3D antenna pattern files in JSON format.
upload_time2025-08-27 11:51:09
maintainerNone
docs_urlNone
authorGeorg Polownikow
requires_python<3.14,>=3.11
licenseMIT License Copyright (c) 2025 Ericsson Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords antenna pattern 3d pattern visualization ngmn basta rf json
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # eas-3d-pattern

[![PyPI version](https://img.shields.io/pypi/v/eas-3d-pattern.svg)](https://pypi.org/project/eas-3d-pattern/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/eas-3d-pattern.svg)](https://pypi.org/project/eas-3d-pattern/)
[![PyPI - License](https://img.shields.io/pypi/l/eas-3d-pattern.svg)](https://github.com/Ericsson/eas-3d-pattern/blob/main/LICENSE)
[![Linter: Ruff](https://img.shields.io/badge/Linter-Ruff-blue.svg)](https://github.com/astral-sh/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](https://pip.pypa.io/en/stable/) to install eas-3d-pattern.

```bash
pip install eas-3d-pattern
```

## Usage
```python
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](https://github.com/Ericsson/eas-3d-pattern/tree/main/notebooks)


## Resources
*   [NGMN BASTA schema](https://www.ngmn.org/schema/basta/NGMN_BASTA_AA_3drp_JSON_Schema_WP3_0_latest.json)
*   [Example JSON files](https://www.ngmn.org/schema/basta/)
*   [Example of Beam Efficiency Report / EAS Definitions](https://erilink.internal.ericsson.com/eridoc/erl/objectId/09004cffd60af4fb?docno=2%2F0363-KRE2014818%2F21&option=download&format=pdf)

## 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

            

Raw data

            {
    "_id": null,
    "home_page": "https://www.ericsson.com/antenna-system",
    "name": "eas-3d-pattern",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.14,>=3.11",
    "maintainer_email": null,
    "keywords": "antenna, pattern, 3d pattern, visualization, NGMN, BASTA, RF, JSON",
    "author": "Georg Polownikow",
    "author_email": "georg.polownikow@ericsson.com",
    "download_url": "https://files.pythonhosted.org/packages/a6/bf/ee521c30161007c8bc53b41bd79f53a08374e81694f58100d3a2920c3930/eas_3d_pattern-0.1.2.tar.gz",
    "platform": null,
    "description": "# eas-3d-pattern\n\n[![PyPI version](https://img.shields.io/pypi/v/eas-3d-pattern.svg)](https://pypi.org/project/eas-3d-pattern/)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/eas-3d-pattern.svg)](https://pypi.org/project/eas-3d-pattern/)\n[![PyPI - License](https://img.shields.io/pypi/l/eas-3d-pattern.svg)](https://github.com/Ericsson/eas-3d-pattern/blob/main/LICENSE)\n[![Linter: Ruff](https://img.shields.io/badge/Linter-Ruff-blue.svg)](https://github.com/astral-sh/ruff)\n\neas-3d-pattern is python library to **visualize** and make simple **beam efficiency calculations** on **3D antenna pattern data** which follows the NGMN BASTA schema.\n\n\n## Installation\n\nUse the package manager [pip](https://pip.pypa.io/en/stable/) to install eas-3d-pattern.\n\n```bash\npip install eas-3d-pattern\n```\n\n## Usage\n```python\nfrom eas_3d_pattern import AntennaPattern, SAMPLE_JSON\n\npattern = AntennaPattern(SAMPLE_JSON[0], validate=True) # reads a JSON and validates schema\npattern.calculate_beam_efficiency() # Calculates beam efficiency for standard EAS regions\npattern.plot() # plots an interactive heatmap of the normalized antenna pattern\n```\n\n### For further examples, please check the [example notebooks](https://github.com/Ericsson/eas-3d-pattern/tree/main/notebooks)\n\n\n## Resources\n*   [NGMN BASTA schema](https://www.ngmn.org/schema/basta/NGMN_BASTA_AA_3drp_JSON_Schema_WP3_0_latest.json)\n*   [Example JSON files](https://www.ngmn.org/schema/basta/)\n*   [Example of Beam Efficiency Report / EAS Definitions](https://erilink.internal.ericsson.com/eridoc/erl/objectId/09004cffd60af4fb?docno=2%2F0363-KRE2014818%2F21&option=download&format=pdf)\n\n## Features\n*   Loads and validates NGMN JSON schema from NGMN homepage (fallback if no internet access)\n*   Parses various JSON structures from different sources with ease\n*   Beam efficiency calculation\n*   Custom rectangular and default sector definitions\n*   Interactive visualization of 3D antenna pattern\n\n## To-Do\n*   Add tests / CICD\n*   Add different calculation methods\n*   Add more complex sector shapes\n*   Plot sector regions\n*   Improve interface to work with multiple JSON files\n",
    "bugtrack_url": null,
    "license": "MIT License\n\nCopyright (c) 2025 Ericsson\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n",
    "summary": "A tool to visualize 3D antenna pattern files in JSON format.",
    "version": "0.1.2",
    "project_urls": {
        "Homepage": "https://www.ericsson.com/antenna-system",
        "Repository": "https://github.com/Ericsson/eas-3d-pattern"
    },
    "split_keywords": [
        "antenna",
        " pattern",
        " 3d pattern",
        " visualization",
        " ngmn",
        " basta",
        " rf",
        " json"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "15f967c0a51ded46a83c610ccd16a07011b6d48490f9486e05980412e42edf5c",
                "md5": "03bd0b09b79d137f7b64aa7499d44045",
                "sha256": "d9ef6ab00bfc2bf8c0b083dcce836c00310ae98a587d4f97c70972225361205c"
            },
            "downloads": -1,
            "filename": "eas_3d_pattern-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "03bd0b09b79d137f7b64aa7499d44045",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.14,>=3.11",
            "size": 5524836,
            "upload_time": "2025-08-27T11:50:57",
            "upload_time_iso_8601": "2025-08-27T11:50:57.826966Z",
            "url": "https://files.pythonhosted.org/packages/15/f9/67c0a51ded46a83c610ccd16a07011b6d48490f9486e05980412e42edf5c/eas_3d_pattern-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a6bfee521c30161007c8bc53b41bd79f53a08374e81694f58100d3a2920c3930",
                "md5": "c987445503a6ecc5f25449de9bbaaf2a",
                "sha256": "a1c7d92a5e2c440f419e0ce9d4e97a650318a61709474ec2938ecb140286e394"
            },
            "downloads": -1,
            "filename": "eas_3d_pattern-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "c987445503a6ecc5f25449de9bbaaf2a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.14,>=3.11",
            "size": 5365093,
            "upload_time": "2025-08-27T11:51:09",
            "upload_time_iso_8601": "2025-08-27T11:51:09.422504Z",
            "url": "https://files.pythonhosted.org/packages/a6/bf/ee521c30161007c8bc53b41bd79f53a08374e81694f58100d3a2920c3930/eas_3d_pattern-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-27 11:51:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Ericsson",
    "github_project": "eas-3d-pattern",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "eas-3d-pattern"
}
        
Elapsed time: 1.56467s