Design Patch Antenna
A simple patch antenna design library
Prerequisite
Python environment
-
python=3.10
-
Install below packages
pip install scipy==1.9.0
pip install gerber_writer==0.3.4
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.
Simple Design and Usage
Getting design parameters
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_string(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 for both feed types
- Normal feed
pa.write_gerber(freq, er, h, 'patch_design_normal_2.4GHz_4.4_er_1.6_h.gbr', 'normal')
- Inset feed
pa.write_gerber(freq, er, h, 'patch_design_inset_2.4GHz_4.4_er_1.6_h.gbr', 'inset')
Customize design results
Using design object
design = pa.design(freq, er, h)
design.feeder_length *= 1.25
design.feeder_width *= 1.10
pa.write_gerber_design(design, 'custom_patch_normal_design.gbr', 'normal')
pa.write_gerber_design(design, 'custom_patch_inset_design.gbr', 'inset')
Future:
- Design and gerber generation for patch antenna arrays and including other parameters calculation.
Note
Patch antenna design, 3D simulation, and Gerber file facility also published as Web-Live application.
Metadata
Release files for patch-antenna 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| patch_antenna-0.1.0.tar.gz | 5.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| patch_antenna-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.2 kB
Release files / patch_antenna-0.1.0.tar.gz
| Download URL | patch_antenna-0.1.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f2e7aa7b0e7fe9a67bdb6f941e847319eb8f766dc69b1cff84c0a6cc973f7d1
|
|
BLAKE2b-256 checksum How to use checksums |
973d230ff13ae5894a05052183d9c4a4e69573537e29a63f47321eb7404f3fa9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / patch_antenna-0.1.0-py3-none-any.whl
| Download URL | patch_antenna-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
198c02f77774bd03edfd2fb6ad252a9e5d59514f0f3368fc978d573c12697b4d
|
|
BLAKE2b-256 checksum How to use checksums |
e7272961d1359dda5f315d26c729c999516b30b03343cd7acd94521d00971686
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Security for patch-antenna 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.