summaryrefslogtreecommitdiff
path: root/gr-digital/python/digital/qa_pfb_clock_sync.py
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2013-11-09 09:35:39 -0500
committerTom Rondeau <tom@trondeau.com>2013-11-09 09:35:39 -0500
commit2ea7b546f7df81e1dfd7d4f0e410744cd21fe9b9 (patch)
tree157b21caacd6194580fed90e3e3ca82735aea4b4 /gr-digital/python/digital/qa_pfb_clock_sync.py
parent008dde8f59e8ef132af3ebc0f7b8d43f1e05b717 (diff)
digital: cleaned up pfb_clock_sync blocks and make sure fff and ccf doing the same things.
Updated QA code to tighten up specs because of better convergence now.
Diffstat (limited to 'gr-digital/python/digital/qa_pfb_clock_sync.py')
-rwxr-xr-xgr-digital/python/digital/qa_pfb_clock_sync.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-digital/python/digital/qa_pfb_clock_sync.py b/gr-digital/python/digital/qa_pfb_clock_sync.py
index efa9879d6a..3c8074b154 100755
--- a/gr-digital/python/digital/qa_pfb_clock_sync.py
+++ b/gr-digital/python/digital/qa_pfb_clock_sync.py
@@ -41,7 +41,7 @@ class test_pfb_clock_sync(gr_unittest.TestCase):
loop_bw = cmath.pi/100.0
nfilts = 32
init_phase = nfilts/2
- max_rate_deviation = 1.5
+ max_rate_deviation = 0.5
osps = 1
ntaps = 11 * int(sps*nfilts)
@@ -94,7 +94,7 @@ class test_pfb_clock_sync(gr_unittest.TestCase):
loop_bw = cmath.pi/100.0
nfilts = 32
init_phase = nfilts/2
- max_rate_deviation = 1.5
+ max_rate_deviation = 0.5
osps = 1
ntaps = 11 * int(sps*nfilts)
@@ -136,7 +136,7 @@ class test_pfb_clock_sync(gr_unittest.TestCase):
#for e,d in zip(expected_result, dst_data):
# print e, d
- self.assertComplexTuplesAlmostEqual(expected_result, dst_data, 1)
+ self.assertFloatTuplesAlmostEqual(expected_result, dst_data, 1)
if __name__ == '__main__':