la1k / power_estimation

A collection of GNU Radio companion examples and Python functions for measuring the azimuth-resolved reception power of an antenna.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scripts, Python modules and GNU Radio companion examples for measuring the reception power of an antenna during rotation, and for doing the necessary off-line analysis to produce antenna diagrams.

Example pattern

The code here is described in a blog post, https://www.la1k.no/2018/05/16/using-gnu-radio-and-hamlib-to-calculate-antenna-diagrams/.

Use measure.py in measurement subdirectory to sample IQ data while simultaneously logging antenna angles to file. See README.md in that folder for more details. Let the script run continuously while turning the rotor.

Use combine_samples_and_angles.py to combine samples/power estimates produced using GNU Radio with the above angle measurements. See docstring of combine_samples_and_angles.py for more details.

For time-varying, periodic morse signals, see docstring of cw_extraction.py for extracting of the high signal levels only. Its behavior is described in:

See also probabilistic_signal_extraction.py for a basic probabilistic approach. Its behavior is described in https://www.la1k.no/2018/08/08/extracting-the-antenna-pattern-from-a-beacon-signal-pt-iv-probabilistic-approach/.

About

A collection of GNU Radio companion examples and Python functions for measuring the azimuth-resolved reception power of an antenna.

License:MIT License


Languages

Language:Python 100.0%