aboutsummaryrefslogtreecommitdiffstats
path: root/python/dpd/Adapt.py
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-01-23 10:58:36 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-01-23 10:58:36 +0100
commite0abfc3728fb56519fa2507d2468214e2a633c98 (patch)
tree48d65e27f257bca33a0f23bded8090d17ffd9f8c /python/dpd/Adapt.py
parent2eca83abbf57f3dfad407932e25d389b906c10a4 (diff)
downloaddabmod-e0abfc3728fb56519fa2507d2468214e2a633c98.tar.gz
dabmod-e0abfc3728fb56519fa2507d2468214e2a633c98.tar.bz2
dabmod-e0abfc3728fb56519fa2507d2468214e2a633c98.zip
DPDCE: present model in a nicer way
Diffstat (limited to 'python/dpd/Adapt.py')
-rw-r--r--python/dpd/Adapt.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/dpd/Adapt.py b/python/dpd/Adapt.py
index 8023a53..a30f0c8 100644
--- a/python/dpd/Adapt.py
+++ b/python/dpd/Adapt.py
@@ -44,12 +44,12 @@ def dpddata_to_str(dpddata) -> str:
if dpddata[0] == "poly":
coefs_am = dpddata[1]
coefs_pm = dpddata[2]
- return "dpd_coefs_am {}, dpd_coefs_pm {}".format(
+ return "Poly: AM/AM {}, AM/PM {}".format(
coefs_am, coefs_pm)
elif dpddata[0] == "lut":
scalefactor = dpddata[1]
lut = dpddata[2]
- return "LUT scalefactor {}, LUT {}".format(
+ return "LUT: scalefactor {}, LUT {}".format(
scalefactor, lut)
else:
raise ValueError("Unknown dpddata type {}".format(dpddata[0]))