wrong decim with fcd device / osmosdr-tetra_demod_fft.py

Stefan Mandl stefan.mandl1 at googlemail.com
Tue Jul 24 15:42:48 UTC 2012


Hello,

using a FUNcube dongle, the first_decim rate is to high.


regards

Stefan

My patch



--- a/src/demod/python/osmosdr-tetra_demod_fft.py
+++ b/src/demod/python/osmosdr-tetra_demod_fft.py
@@ -61,8 +61,11 @@ class top_block(grc_wxgui.top_block_gui):
     out_sample_rate = symbol_rate * sps

     options.low_pass = options.low_pass / 2.0
-
-    first_decim = 10
+
+    if sample_rate == 96000:
+               first_decim = 2
+    else:
+               first_decim = 10

     self.offset = 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/tetra/attachments/20120724/60f87a6d/attachment.html>


More information about the tetra mailing list