Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EW Toolbox

Electronic warfare Python calculators and plotting tools for quick-look analysis.

Highlights

  • 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)

Models are educational approximations and should not be used for mission planning.

Install

python -m pip install numpy matplotlib

CLI examples

# 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.png

GUI

python -m ew_toolbox.gui

Project layout

ew_toolbox/
  __init__.py
  calculators.py
  cli.py
  gui.py
  plots.py
tests/
  test_calculators.py
pyproject.toml

About

useful python electronic warfare/radar tools

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages