aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/cores
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-05-31 19:02:58 -0700
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:03:58 -0800
commit6183d9eeaa2cae6ca859b0a2f125d13842f57c39 (patch)
tree4f9f21529896aa90010239c16e17b6776e9f9c7e /mpm/python/usrp_mpm/cores
parent34c2fa0beea10308bc9afe6f20b734fc0839b226 (diff)
downloaduhd-6183d9eeaa2cae6ca859b0a2f125d13842f57c39.tar.gz
uhd-6183d9eeaa2cae6ca859b0a2f125d13842f57c39.tar.bz2
uhd-6183d9eeaa2cae6ca859b0a2f125d13842f57c39.zip
mpm: Made code Python3-compatible
Diffstat (limited to 'mpm/python/usrp_mpm/cores')
-rw-r--r--mpm/python/usrp_mpm/cores/tdc_sync.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mpm/python/usrp_mpm/cores/tdc_sync.py b/mpm/python/usrp_mpm/cores/tdc_sync.py
index d85dbadde..9ed825e1c 100644
--- a/mpm/python/usrp_mpm/cores/tdc_sync.py
+++ b/mpm/python/usrp_mpm/cores/tdc_sync.py
@@ -18,6 +18,8 @@ TDC clock synchronization
"""
import time
+from builtins import object
+from functools import reduce
def mean(vals):
" Calculate arithmetic mean of vals "