From f7fabab45ded41533ce832b4dc2d16baaf9a439f Mon Sep 17 00:00:00 2001 From: Tamas Gal <tgal@km3net.de> Date: Mon, 18 Feb 2019 20:45:43 +0100 Subject: [PATCH] Add k40 --- app/routes.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/routes.py b/app/routes.py index 3cf64f2..7f9b366 100644 --- a/app/routes.py +++ b/app/routes.py @@ -10,6 +10,7 @@ PLOTS = [['dom_activity', 'dom_rates'], ['pmt_rates', 'pmt_hrv'], AHRS_PLOTS = [['yaw_calib'], ['pitch_calib'], ['roll_calib']] TRIGGER_PLOTS = [['trigger_rates'], ['trigger_rates_lin']] +K40_PLOTS = [['intradom.png'], ['angular_k40rate_distribution.png']] @app.after_request @@ -35,6 +36,11 @@ def ahrs(): return render_template('plots.html', plots=AHRS_PLOTS) +@app.route('/k40.html') +def k40(): + return render_template('k40.html', plots=K40_PLOTS) + + @app.route('/trigger.html') def trigger(): return render_template('plots.html', plots=TRIGGER_PLOTS) -- GitLab