Skip to main content

Radar antenna models in python

Project description

PyAnt

PyAnt is a standardization for implementing radar gain pattern in Python. Nothing more, nothing less.

Getting started

To install

    pip install pyant

or for the nightly build

    git clone git@github.com:danielk333/pyant.git
    cd pyant
    git checkout develop
    pip install .

Alternatively, if you are following updates closely you can install using pip install -e . so that in the future a git pull will update the library.

Then get started by looking at the examples gallery and API in the Documentation.

Example

Plot the gain pattern of a dish radar modeled using the Cassegrain model.

import matplotlib.pyplot as plt
import pyant

beam = pyant.models.Cassegrain(
    peak_gain=10**4.81,
)
param = pyant.models.CassegrainParams(
    pointing=np.array([0, 0, 1], dtype=np.float64),
    frequency=930e6,
    outer_radius=40.0,
    inner_radius=23.0,
)

pyant.plotting.gain_heatmap(beam, param, resolution=301, min_elevation=80.0)
plt.show()

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

pyant-1.1.1.tar.gz (30.5 kB view details)

Uploaded Source

Built Distribution

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

pyant-1.1.1-py3-none-any.whl (36.5 kB view details)

Uploaded Python 3

File details

Details for the file pyant-1.1.1.tar.gz.

File metadata

  • Download URL: pyant-1.1.1.tar.gz
  • Upload date:
  • Size: 30.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for pyant-1.1.1.tar.gz
Algorithm Hash digest
SHA256 f988ae051ce6e32f9a3747eda095b8d1d1319d66ed8f08a70d5056de97d70b29
MD5 c86ce6c9fff947775ceca53acb610a01
BLAKE2b-256 09068ecfee0c3dc52b2c285e22b222b8569b85a3a8694ebadfa9eeb008ffbd8f

See more details on using hashes here.

File details

Details for the file pyant-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: pyant-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 36.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for pyant-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b9aac61d4d6a4078d100c854c59b91603656e6d39a64997aca7c6ca9b4ba4fd9
MD5 1eb85482419e87bb2ba0af5d4f36fa16
BLAKE2b-256 bdac24b7962714cf9f009d3f21004bbf947fe36dacf7cda9c2c44911d3d6e018

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