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
This commit is contained in:
+3
-1
@@ -110,7 +110,7 @@ class adsb_rx_block (gr.top_block):
|
||||
if options.output_all :
|
||||
pass_all = 1
|
||||
|
||||
self.rx_path = air_modes.rx_path(rate, options.threshold, queue)
|
||||
self.rx_path = air_modes.rx_path(rate, options.threshold, queue, options.pmf)
|
||||
|
||||
if use_resampler:
|
||||
self.lpfiltcoeffs = gr.firdes.low_pass(1, 5*3.2e6, 1.6e6, 300e3)
|
||||
@@ -163,6 +163,8 @@ if __name__ == '__main__':
|
||||
help="FlightGear server to send aircraft data, in format host:port")
|
||||
parser.add_option("-d","--rtlsdr", action="store_true", default=False,
|
||||
help="Use RTLSDR dongle instead of UHD source")
|
||||
parser.add_option("-p","--pmf", action="store_true", default=False,
|
||||
help="Use pulse matched filtering")
|
||||
|
||||
(options, args) = parser.parse_args()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user