aboutsummaryrefslogtreecommitdiffstats
path: root/python/gui
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-12-19 16:11:58 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-12-19 16:12:19 +0100
commitf4ca82137e850e30d31e7008b34800d8b2699e5d (patch)
treeff19ad63f6ddf8a4f62b173c5955b2711646f123 /python/gui
parent9d2c85f7a2a23fcf9ce3c842d86227afed43a153 (diff)
downloaddabmod-f4ca82137e850e30d31e7008b34800d8b2699e5d.tar.gz
dabmod-f4ca82137e850e30d31e7008b34800d8b2699e5d.tar.bz2
dabmod-f4ca82137e850e30d31e7008b34800d8b2699e5d.zip
DPD: Merge Model_PM and _AM into _Poly
Diffstat (limited to 'python/gui')
-rw-r--r--python/gui/static/js/odr-predistortion.js10
-rw-r--r--python/gui/templates/predistortion.html5
2 files changed, 15 insertions, 0 deletions
diff --git a/python/gui/static/js/odr-predistortion.js b/python/gui/static/js/odr-predistortion.js
index ff82142..59dcd82 100644
--- a/python/gui/static/js/odr-predistortion.js
+++ b/python/gui/static/js/odr-predistortion.js
@@ -39,13 +39,23 @@ function resultrefresh() {
if (data['statplot']) {
$('#dpdcapturestats').attr('src', data['statplot']);
}
+ else {
+ $('#dpdcapturestats').attr('src', "");
+ }
if (data['amplot']) {
$('#dpdamplot').attr('src', data['amplot']);
}
+ else {
+ $('#dpdamplot').attr('src', "");
+ }
+
if (data['pmplot']) {
$('#dpdpmplot').attr('src', data['pmplot']);
}
+ else {
+ $('#dpdpmplot').attr('src', "");
+ }
});
jqxhr.always(function() {
diff --git a/python/gui/templates/predistortion.html b/python/gui/templates/predistortion.html
index e21c688..d953dff 100644
--- a/python/gui/templates/predistortion.html
+++ b/python/gui/templates/predistortion.html
@@ -42,6 +42,11 @@
<div class="panel-heading">Capture Statistics</div>
<div class="panel-body">
<img id="dpdcapturestats" />
+ </div>
+ </div>
+ <div class="panel panel-default">
+ <div class="panel-heading">AM/AM and AM/PM Model</div>
+ <div class="panel-body">
<img id="dpdamplot" />
<img id="dpdpmplot" />
</div>