aboutsummaryrefslogtreecommitdiffstats
path: root/gui/templates
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-11-28 11:11:22 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-11-28 11:11:22 +0100
commitcfa9461f269e616d6d54658d583b37d215f35a7b (patch)
treebc56977f6479c297521dff9564ba6ecbffe00a52 /gui/templates
parentee435c029eac59e0399dc3ae765cc74d66b9442e (diff)
downloaddabmod-cfa9461f269e616d6d54658d583b37d215f35a7b.tar.gz
dabmod-cfa9461f269e616d6d54658d583b37d215f35a7b.tar.bz2
dabmod-cfa9461f269e616d6d54658d583b37d215f35a7b.zip
GUI: Add part of calibration routine
Diffstat (limited to 'gui/templates')
-rw-r--r--gui/templates/predistortion.html20
1 files changed, 18 insertions, 2 deletions
diff --git a/gui/templates/predistortion.html b/gui/templates/predistortion.html
index ed224d8..139d982 100644
--- a/gui/templates/predistortion.html
+++ b/gui/templates/predistortion.html
@@ -29,16 +29,31 @@ along with ODR-DabMod. If not, see <http://www.gnu.org/licenses/>.
<div class="container-fluid">
<div class="panel-group">
<div class="panel panel-default">
+ <div class="panel-heading">Calibration</div>
+ <div class="panel-body">
+ <div>Calibration needs to be done once before the PA model
+ can be trained. Every time calibration is changed, the predistortion
+ parameters are invalidated!</div>
+ <button type="button" class="btn btn-sm btn-info" id="calibratebtn">
+ Calibrate</button>
+ <div>Calibration results:<span id="calibrationresults">N/A<span></div>
+ </div>
+ </div>
+
+ <!--
+ <div class="panel panel-default">
+ <div class="panel-heading">Capture</div>
<div class="panel-body">
- <h3>Capture</h3>
<div>On pressing this button,
the DPDCE will trigger a capture and a quick data
analysis, without updating any DPD models.</div>
<button type="button" class="btn btn-sm btn-info" id="capturebutton">
Capture</button>
</div>
+ </div>
+ <div class="panel panel-default">
+ <div class="panel-heading">Status</div>
<div class="panel-body">
- <h3>Status</h3>
<button type="button" class="btn btn-sm btn-info" id="dpdstatusbutton">
Update</button>
<div>Histogram: <span id="histogram">N/A</span></div>
@@ -51,6 +66,7 @@ along with ODR-DabMod. If not, see <http://www.gnu.org/licenses/>.
<div>Point cloud: <img id="dpd_pointcloud" /></div>
</div>
</div>
+ -->
</div>
</div>
</body>