diff --git a/app/routes.py b/app/routes.py index 3cf64f24ed70939d7d693d3125d4f8da52388e52..7f9b36619c0ee4c6f8bd8b66f8c136502168f173 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)