From 337882029355530b1cb1f2c218bbef890c25f583 Mon Sep 17 00:00:00 2001 From: Kai Chappell Date: Tue, 18 Mar 2025 14:24:17 +0000 Subject: [PATCH] Add Streamlit dashboard skeleton --- src/py_dvt_ate/app/dashboard/__init__.py | 4 ++++ src/py_dvt_ate/app/dashboard/app.py | 28 ++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 src/py_dvt_ate/app/dashboard/app.py diff --git a/src/py_dvt_ate/app/dashboard/__init__.py b/src/py_dvt_ate/app/dashboard/__init__.py index 30e6600..29ac676 100644 --- a/src/py_dvt_ate/app/dashboard/__init__.py +++ b/src/py_dvt_ate/app/dashboard/__init__.py @@ -3,3 +3,7 @@ Provides visualisation of instrument status, test progress, and historical results. """ + +from py_dvt_ate.app.dashboard.app import main + +__all__ = ["main"] diff --git a/src/py_dvt_ate/app/dashboard/app.py b/src/py_dvt_ate/app/dashboard/app.py new file mode 100644 index 0000000..578f7be --- /dev/null +++ b/src/py_dvt_ate/app/dashboard/app.py @@ -0,0 +1,28 @@ +"""Streamlit dashboard application for physics simulation visualisation. + +This module provides an interactive dashboard for visualising the physics +engine directly, demonstrating thermal-electrical coupling in real-time. +""" + +import streamlit as st + + +def main() -> None: + """Main entry point for the Streamlit dashboard.""" + st.set_page_config( + page_title="py-dvt-ate Virtual Lab Bench", + page_icon="🔬", + layout="wide", + ) + + st.title("py-dvt-ate Virtual Lab Bench") + st.markdown( + """ + Interactive physics simulation demonstrating coupled thermal-electrical + behaviour of an LDO voltage regulator. + """ + ) + + +if __name__ == "__main__": + main()