Electronic warfare Python calculators and plotting tools for quick-look analysis.
- Calculator library for:
- FSPL and EIRP
- J/S and burn-through range estimates
- PRI, duty cycle, and unambiguous range
- Coherent false-target delay-to-range spacing
- Geometric radar horizon
- Frequency-hop overlap probability
- Plotting:
- J/S vs target range
- RGPO delay profiles
- Interfaces:
- CLI (
python -m ew_toolbox.cli ...) - Tkinter GUI (
python -m ew_toolbox.gui)
- CLI (
Models are educational approximations and should not be used for mission planning.
python -m pip install numpy matplotlib# J/S at a range
python -m ew_toolbox.cli js \
--jammer-eirp-dbw 55 --radar-eirp-dbw 70 --target-rcs-m2 3 \
--frequency-hz 1e10 --jr-range-m 80000 --target-range-m 40000
# Burn-through
python -m ew_toolbox.cli burnthrough \
--jammer-eirp-dbw 55 --radar-eirp-dbw 70 --target-rcs-m2 3 \
--frequency-hz 1e10 --jr-range-m 80000
# Extra utilities
python -m ew_toolbox.cli unambig-range --prf-hz 2000
python -m ew_toolbox.cli horizon --radar-height-m 10 --target-height-m 1000
python -m ew_toolbox.cli hop-overlap --jammer-bw-hz 2.5e7 --hop-set-bw-hz 1e8
# Plot outputs
python -m ew_toolbox.cli plot-js --jammer-eirp-dbw 55 --radar-eirp-dbw 70 \
--target-rcs-m2 3 --frequency-hz 1e10 --jr-range-m 80000 --out js_sweep.png
python -m ew_toolbox.cli plot-rgpo --out rgpo.pngpython -m ew_toolbox.guiew_toolbox/
__init__.py
calculators.py
cli.py
gui.py
plots.py
tests/
test_calculators.py
pyproject.toml