Metadata-Version: 2.4
Name: nec81
Version: 2.2.0
Summary: Python and NumPy implementation of NEC-81 (NEC-2) antenna modeling code
Author-email: Mike Markowski <mike.ab3ap@gmail.com>
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: numpy>=1.24
Provides-Extra: plots
Requires-Dist: matplotlib>=3.7; extra == "plots"
Provides-Extra: gui
Requires-Dist: matplotlib>=3.7; extra == "gui"
Requires-Dist: PySide6>=6.5; extra == "gui"
Provides-Extra: full
Requires-Dist: matplotlib>=3.7; extra == "full"
Requires-Dist: PySide6>=6.5; extra == "full"

# NEC-81 (Python / NumPy)

A Python and NumPy implementation of the NEC-81 (NEC-2) antenna modeling code.

## Requirements
* Python >= 3.10
* NumPy >= 1.24
* Optional: Matplotlib >= 3.7 (3D geometry & radiation plots), PySide6 >= 6.5 (GUI)

## Installation from Release Package

From the extracted `nec81/` release folder:

```bash
# Full installation (CLI, plots, and GUI)
pip install "nec81-2.2.0-py3-none-any.whl[full]"

# Core solver only
pip install nec81-2.2.0-py3-none-any.whl
```

*(If installing from source instead of the wheel, run `pip install ".[full]"` from the directory containing `pyproject.toml`.)*

## Usage

### Command Line
```bash
nec81 input.nec output.out
```

### Python API
```python
from nec81.mainsa import runNec81

runNec81('input.nec', 'output.out')
```

