summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dpd/src/Adapt.py2
-rw-r--r--dpd/src/Model_Poly.py5
2 files changed, 4 insertions, 3 deletions
diff --git a/dpd/src/Adapt.py b/dpd/src/Adapt.py
index b17f059..1d3c84a 100644
--- a/dpd/src/Adapt.py
+++ b/dpd/src/Adapt.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# DPD Calculation Engine: updates ODR-DabMod's predistortion block.
+# DPD Calculation Engine: updates ODR-DabMod's settings
#
# http://www.opendigitalradio.org
# Licence: The MIT License, see notice at the end of this file
diff --git a/dpd/src/Model_Poly.py b/dpd/src/Model_Poly.py
index 78bab91..44e0483 100644
--- a/dpd/src/Model_Poly.py
+++ b/dpd/src/Model_Poly.py
@@ -44,14 +44,15 @@ class Poly:
learning_rate_am=1.0,
learning_rate_pm=1.0):
self.c = c
+ self.plot = c.MDL_plot
self.learning_rate_am = learning_rate_am
self.learning_rate_pm = learning_rate_pm
self.reset_coefs()
- self.model_am = Model_AM.Model_AM(c, plot=True)
- self.model_pm = Model_PM.Model_PM(c, plot=True)
+ self.model_am = Model_AM.Model_AM(c, plot=self.plot)
+ self.model_pm = Model_PM.Model_PM(c, plot=self.plot)
self.plot = c.MDL_plot