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

ant = pyant.Cassegrain(
    azimuth=0,
    elevation=90.0,
    frequency=930e6,
    I0=10**4.81,
    a0=23.0,
    a1=40.0,
    degrees=True,
)

pyant.plotting.gain_heatmap(ant, 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-0.11.1.tar.gz (37.7 kB view hashes)

Uploaded Source

Built Distribution

pyant-0.11.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (50.5 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.5+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page