From e0abfc3728fb56519fa2507d2468214e2a633c98 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 23 Jan 2019 10:58:36 +0100 Subject: DPDCE: present model in a nicer way --- python/dpd/Adapt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/dpd') 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])) -- cgit v1.2.3