Skip to content

Collection of scripts over the years simulating radio communications

License

Notifications You must be signed in to change notification settings

scivision/radio-utils

Repository files navigation

image image

Radio Simulations in Python

Collection of scripts over the years simulating radio communications (commericial and amateur radio). Python scripts by Michael Hirsch, Ph.D.

Install

python -m pip install -e .

Usage

Rain Attenuation

ITU P.838 Specific attenuation model for rain for use in prediction methods

considers:

  • rain rate [mm/hour]
  • frequency [Hz] 1-1000 GHz
  • polarization: 0 (horiz) 90 (vertical) or elliptical (degrees)
  • elevation angle (degrees)

Show a plot over whole frequency range by setting frequency -1. Show replication of ITU report plots with -v option.

SSB mod/demod

You can use the -e option to introduce a "mistuned" receiver frequency.:

wget http://www.kozco.com/tech/piano2.wav

python ssbmoddemod.py piano2.wav

Free Space Loss

1km link at 902MHz with 10mW EIRP transmit power and -85dBm receive threshold with 0dBi antenna:

python free_space_loss.py -h
python fspl.py 1e3 902e6 10 -85

About

Collection of scripts over the years simulating radio communications

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks