Repository navigation
Packages Nec2c
The NEC2 antenna modelling engine as a C program, for scripting
- Version recorded: 1.3.1
-
Categories:
antenna - Upstream: https://www.qsl.net/5b4az/
A translation of the original Fortran NEC2 into C. It reads a NEC input file and writes the output file: patterns, impedances, currents. No interface, no plots -- input in, numbers out.
Because it is scriptable. Sweeping a dimension across fifty values and plotting gain against it is a shell loop with this and a graph program, and it is not something an interactive modeller does well. It is also the engine to reach for when the modelling is part of a larger pipeline rather than a session at a screen.
A NEC input file, and something to read the output with. If you want to look at a pattern rather than compute over it, use xnec2c instead.
- apt:
nec2c
The same NEC2 modelling rules apply and nothing here enforces them -- a segmentation error yields plausible numbers. The output format is the original fixed-column Fortran layout, which is parseable but not pleasant, and is the main cost of scripting against it.
- probe: apt policy
- strategy: apt_upgrade
Neoklis Kyriazis, 5B4AZ. The site above carries the source and notes; there is no issue tracker.
Source: catalog/packages/nec2c.yaml
Generated from docs/ at commit b2ea01255815. Canonical site: https://renegade-penguin.github.io/Hammunition/. Edit docs/ by pull request, not this wiki.
- Home
- Software by activity
- Activity hubs
- Installation
- Profiles
-
Guides
- Operating
- Modes
- Receiving
- In the field
- Troubleshooting
- Getting started
- Packages
-
Hardware
- Park and wake devices
- SDR receivers and transceivers
- Radios, GPS and mesh
- Security and research hardware
- Programmers
- Laptop radios and camera (parkable)
- LibreVNA (vector network analyser)
- RF security
-
Reference
- The engine
- Coverage
- Inventories
- Hardware measurements
- Verification
- Contributing