/n3ox_utils

Python antenna and transmission line modeling and plotting utilities.

Primary LanguagePythonMIT LicenseMIT

n3ox_utils

N3OX Python Utilities

This is a personal package of Python utilities for antennas and transmission lines by N3OX. Work in progress.

Contents

  • nfanim: Near-field animations using PyNEC NEC-2++ simulations.

  • tlcalc: Lossy transmission line calculations. Implements the same transmission line calculations as Owen Duffy's Transmission Line Calculator for use in Jupyter notebooks and other Python scripts.

  • plot_tools General matplotlib pyplot setup as well as ARRL-style pattern polar plots (PDF)

  • pynec_helpers: Wire input GUI and other helper utilities for working with PyNEC

PyNEC Helpers

Wire Input Widget

This is a GUI wire entry tool using ipywidgets

Wire coordinates and segmentation are entered manually, and calling the WireInput's return_wire_dicts() method returns a list of dicts that can be unpacked into PyNEC's PyNEC.c_geometry.wire method.

WireInput Screenshot showing GUI wire input interface