PYTHON

DATA DASHBOARD

Post-processing and visualisation of simulation outputs. Overlay runs, compare setups, export publication-ready plots for design reviews and competition reports.

Get Module — £19 Try Demo ↓
STREAMLIT DASHBOARD PREVIEW
Speed Trace Overlay
GG Diagram Comparison
Sector Time Delta
Setup Parameter Table

The dashboard provides a unified interface for comparing simulation outputs across parameter changes, setup iterations, and track configurations.

Run overlay — Plot speed traces, GG diagrams, and sector times from multiple runs on a single canvas with automatic legend generation and delta highlighting.

Setup comparison — Side-by-side parameter tables with colour-coded deltas showing which changes improved/degraded performance.

Export pipeline — One-click export to publication-ready PNGs/SVGs at 300 DPI with consistent branding, axis formatting, and typography.

dashboard.py — Streamlit app entry point
  ████████░░░░░██████████████████░░░░
    ██████████████████████░░░░░░░░██████
  ████████████░░░░██████████████████████░░░
  ██████░░░░██████████████████████░░░████
      ████████████████████████░░░░░░██████
  ██████████░░░██████████████████████░░████
    ████████████████████████░░░░░░░░░██████
  ████░░░░██████████████████████░░░██████
  ██████████████████░░░░██████████████████
    ██████████████████████░░░░░░░░██████████
Included with purchase
Plot styling configuration
  ████████░░░░░██████████████████░░░░
    ██████████████████████░░░░░░░░██████
  ████████████░░░░██████████████████████░░░
  ██████░░░░██████████████████████░░░████
      ████████████████████████░░░░░░██████
  ██████████░░░██████████████████████░░████
    ████████████████████████░░░░░░░░░██████
  ████░░░░██████████████████████░░░██████
  ██████████████████░░░░██████████████████
    ██████████████████████░░░░░░░░██████████
Included with purchase
How to add your team branding
  ████████░░░░░██████████████████░░░░
    ██████████████████████░░░░░░░░██████
  ████████████░░░░██████████████████████░░░
  ██████░░░░██████████████████████░░░████
      ████████████████████████░░░░░░██████
  ██████████░░░██████████████████████░░████
    ████████████████████████░░░░░░░░░██████
  ████░░░░██████████████████████░░░██████
  ██████████████████░░░░██████████████████
    ██████████████████████░░░░░░░░██████████
Included with purchase
Pythondashboard.py
LOCKED
import streamlit as st
import numpy as np
import matplotlib.pyplot as plt
from pathlib import Path
from dataclasses import dataclass

@dataclass
class SimRun:
    name: str
    params: dict
    speed_trace: np.ndarray
    gg_data: np.ndarray
    lap_time: float
    sectors: np.ndarray

def load_runs(run_dir: Path) -> list:
    runs = []
    for f in sorted(run_dir.glob('*.mat')):
        data = loadmat(f)
        runs.append(SimRun(
            name=f.stem,
            params=data['params'],
            speed_trace=data['v_profile'],
            gg_data=data['gg_points'],
            lap_time=float(data['t_lap']),
            sectors=data['sector_times']
        ))
    return runs

def plot_overlay(runs, ax=None):
    if ax is None:
        fig, ax = plt.subplots(figsize=(12, 4))
    baseline = runs[0]
    for run in runs:
        ax.plot(run.speed_trace[:, 0],
                run.speed_trace[:, 1],
                label=f'{run.name} ({run.lap_time:.3f}s)')
    ax.set_xlabel('Distance (m)')
    ax.set_ylabel('Speed (m/s)')
    ax.legend(loc='upper right', fontsize=8)
    return ax

Full source code

Purchase to unlock code, docs & examples

Unlock — £19
dashboard.pyStreamlit app entry point
PYTHON
plot_overlay.pyMulti-run speed trace overlay
PYTHON
gg_compare.pyGG diagram comparison view
PYTHON
setup_table.pyParameter delta table generator
PYTHON
export_plots.pyPublication-ready export at 300 DPI
PYTHON
style_config.yamlColours, fonts, branding config
PYTHON
1
Install
pip install streamlit matplotlib scipy numpy pyyaml. Python 3.8+.
2
Point to your data
Set the data directory in style_config.yaml to wherever your .mat simulation outputs live.
3
Launch
Run streamlit run dashboard.py. The browser opens automatically with run selection and plot controls.
4
Export
Use the export panel to save individual plots or a full comparison report as PNG/SVG.
FS Student
£19 / team

Full source code, documentation, and email support. Unlimited use within your FS team.

Get Started
With Setup
£59 / team

Full source + 1hr setup call + priority support. Custom vehicle config and tyre fitting included.

Contact Us

No toolboxes required. All optimisation uses custom solvers — no Optimization Toolbox, no Curve Fitting Toolbox. Works on base MATLAB R2020a+ / Python 3.8+.