Commit 478ea275 authored by Marius Isken's avatar Marius Isken
Browse files

wip

parent d48a928d
......@@ -183,7 +183,7 @@ class Rundirs(BaraddurRequestHandler):
self.get()
class Misfit(BaraddurRequestHandler):
class Summary(BaraddurRequestHandler):
@gen.coroutine
def get(self):
......@@ -192,7 +192,7 @@ class Misfit(BaraddurRequestHandler):
problem=self.config.problem)
class Status(BaraddurRequestHandler):
class Misfit(BaraddurRequestHandler):
class MisfitsPlot(BaraddurBokehHandler):
......@@ -206,6 +206,8 @@ class Status(BaraddurRequestHandler):
self.update_misfits()
plot = figure(webgl=True,
responsive=True,
plot_height=300,
x_axis_label='Iteration #',
y_axis_label='Misfit')
plot.scatter('niter', 'target_mean',
......@@ -226,7 +228,7 @@ class Status(BaraddurRequestHandler):
@gen.coroutine
def get(self):
self.render('status.html',
self.render('misfit.html',
pages=pages,
misfit_plot=autoload_server(
None,
......@@ -254,6 +256,7 @@ class Parameters(BaraddurRequestHandler):
plots = []
for par in problem.parameters:
fig = figure(webgl=True,
responsive=True,
x_axis_label='Iteration #',
y_axis_label='%s [%s]' % (par.label, par.unit))
fig.scatter('niter', par.name,
......@@ -332,7 +335,7 @@ class Targets(BaraddurRequestHandler):
pages = OrderedDict([
('Rundirs', Rundirs),
('Summary', Misfit),
('Misfit', Status),
('Misfit', Misfit),
('Parameters', Parameters),
# ('Targets', Targets),
])
......
......@@ -12,5 +12,7 @@
</header>
<h2 class="content-subhead">Global misfit</h3>
<p>Evolution of global misfit.</p>
<div class="pure-u-1">
{% raw misfit_plot %}
</div>
{% end %}
......@@ -11,5 +11,7 @@
<p><span style="font-family: monospace;">{{ problem.__class__.__name__ }}</span> | <span style="font-family: monospace;">{{ problem.base_source.__class__.__name__ }}</span></p>
</header>
<h2 class="content-subhead">Parameter Plots</h3>
<div class="pure-u-1">
{% raw parameter_plot %}
</div>
{% end %}
......@@ -14,8 +14,10 @@
<div class="pure-u-1 pure-u-md-1 pure-u-lg-1-1">
<h2 class="content-subhead">Contributors</h3>
<p>Contributions of each target to the solution</p>
<div class="pure-u-1">
{% raw contribution_plot %}
</div>
</div>
<div class="pure-u-1 pure-u-md-1 pure-u-lg-1-1">
<h2 class="content-subhead">Targets</h3>
<p>Targets to optimize.</p>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment