Skip to main content

A simple patch antenna design library

Project description

Design Patch Antenna

A simple patch antenna design library

Prerequisite

Install package scipy using the command shown below.

pip install scipy

Installation

pip install patch_antenna

Design patch antenna

To get the design results of a patch antenna use the method design(freq, er, h) by passing your resonant frequency (Hz), dielectric constant and thickness of the cavity (m) values as arguments.

Example code:

import patch_antenna as pa

# resonant frequency in Hz
freq = 2.4 * 10 ** 9

# dielectric constant
er = 4.4

# thickness of the cavity in meter
h = 1.6 * 10 ** -3

result = pa.design(freq, er, h)

print(result)

Output:

{'frequency': 2400000000.0, 'patch_width': 0.0380099749575278, 'patch_length': 0.0294215930843705, 'feeder_width': 0.015203989983011122, 'feeder_length': 0.015449608708025277, 'inset_gap_width': 0.007601994991505561, 'inset_length': 0.010914409094654586, 'ground_length': 0.05447120179239577, 'ground_width': 0.06281396494053892, 'input_edge_impedance': 321.50075290241097}

Write as Gerber file

pa.write_gerber(freq, er, h, 'patch_design_2.4GHz_4.4_er_1.6_h.gbr')

This will write the design in gerber file format. (Currently it will support only for normal feed type).

Future:

  • Generating gerber files for inset feed type too.

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

patch_antenna-0.0.5.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

patch_antenna-0.0.5-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file patch_antenna-0.0.5.tar.gz.

File metadata

  • Download URL: patch_antenna-0.0.5.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for patch_antenna-0.0.5.tar.gz
Algorithm Hash digest
SHA256 a327e9514d66c11c453f58e4b87c51669089b2368fd0d6e83edf27cf216e1929
MD5 e87829aab1907c79a159994e0d40f2b2
BLAKE2b-256 df1b2a329569d8999fa14e047a45533c84d0769d5cd548b1244b45c0ab0b98c7

See more details on using hashes here.

Provenance

File details

Details for the file patch_antenna-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: patch_antenna-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for patch_antenna-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a5207bb6369e80b6545b62fb99032abc7b6081eac360f2b9fc2168709879bae0
MD5 dd0177e08f957be41fcf501a41c4c2ad
BLAKE2b-256 f416e935fafce3de7867c3c0169197c4d6576eafcb021d78c4989388124c40eb

See more details on using hashes here.

Provenance

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