mirror of
https://github.com/hb9fxq/gr-digitalhf
synced 2025-01-03 02:45:39 +00:00
cosmetic change
This commit is contained in:
parent
69363dd4d0
commit
21f8d9e228
|
@ -60,7 +60,7 @@ class physical_layer_driver(gr.hier_block2):
|
||||||
self._corr_est = digital.corr_est_cc(symbols = (preamble_samples.tolist()),
|
self._corr_est = digital.corr_est_cc(symbols = (preamble_samples.tolist()),
|
||||||
sps = sps,
|
sps = sps,
|
||||||
mark_delay = preamble_offset,
|
mark_delay = preamble_offset,
|
||||||
threshold = 0.3,
|
threshold = 0.5,
|
||||||
threshold_method = 1)
|
threshold_method = 1)
|
||||||
self._doppler_correction = digitalhf.doppler_correction_cc(preamble_length, len(preamble_samples))
|
self._doppler_correction = digitalhf.doppler_correction_cc(preamble_length, len(preamble_samples))
|
||||||
self._adaptive_filter = digitalhf.adaptive_dfe(sps, nB, nF, nW, mu, alpha)
|
self._adaptive_filter = digitalhf.adaptive_dfe(sps, nB, nF, nW, mu, alpha)
|
||||||
|
@ -83,7 +83,9 @@ class physical_layer_driver(gr.hier_block2):
|
||||||
self.msg_connect((self._msg_proxy, 'frame_info'), (self._adaptive_filter, 'frame_info'))
|
self.msg_connect((self._msg_proxy, 'frame_info'), (self._adaptive_filter, 'frame_info'))
|
||||||
|
|
||||||
constellations_data = self._physical_layer_driver_description.get_constellations()
|
constellations_data = self._physical_layer_driver_description.get_constellations()
|
||||||
constellations_msg = pmt.to_pmt([{'idx': idx, 'points': c['points'], 'symbols': c['symbols']}
|
constellations_msg = pmt.to_pmt([{'idx' : idx,
|
||||||
|
'points' : c['points'],
|
||||||
|
'symbols': c['symbols']}
|
||||||
for (idx,c) in enumerate(constellations_data)])
|
for (idx,c) in enumerate(constellations_data)])
|
||||||
self._adaptive_filter.to_basic_block()._post(pmt.intern('constellations'), constellations_msg)
|
self._adaptive_filter.to_basic_block()._post(pmt.intern('constellations'), constellations_msg)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue