Commit Graph

6 Commits

Author SHA1 Message Date
Nick Foster
640b13e62d Switched to using complex_to_mag_squared vs. mag. Based on an observation that
the optimal slicer threshold is 0.5(V**2)t. Less CPU load, better performance.
Some configurations of threshold and --pmf result in slightly worse
performance. Most result in better performance.
2013-08-04 22:09:34 -07:00
Nick Foster
0ce6374656 Convert next branch to 3.7 API. Based on Johnathan Corgan's 3.7 conversion of
the master branch.
2013-07-17 18:03:45 -07:00
Nick Foster
51cb2bdf46 Cleanup and remove dead/obsolete code. 2013-06-08 15:42:22 -04:00
Nick Foster
f62813f039 Add getters/setters in preamble/slicer, bring them out to radio.py via pubsub. 2013-06-05 15:56:09 -04:00
Johnathan Corgan
7ad09f5b14 Added option for pulse matched filtering
Pulse matched filtering places a boxcar filter upstream of the
averager and preamble detector.  The filter length is equivalent
to the number of samples in one Mode S chip (0.5us).  This
technique enhances operation when using sample rates > 4Msps.

When using --pmf, the threshold may need to be reduced a dB or
two from what would have been optimal without --pmf.

* rx_path.py now takes 'use_pmf', defaults to False

* modes_rx has new CLI option '-p' or '--pmf' to turn on PMF

* modes_gui has new checkbox on Setup tab
2012-10-29 09:37:18 -07:00
Johnathan Corgan
62304ff59e Refactor flowgraph into hierarchical block
This commit creates air_modes.rx_path, which is the common portion
of the flowgraph once the sample source and possible resampler are
created.  It takes baseband I/Q and emits Mode-S packets into the
supplied message queue.
2012-10-15 09:27:22 -07:00