pycsamt.app.web.app#
Dash web application for pycsamt (Phase 6).
Mirrors the desktop application’s three-zone layout using Dash Bootstrap Components (DBC 2.x) and Plotly figures. All scientific logic is delegated to pycsamt.app.desktop.controllers — only the view layer changes.
Layout zones#
Left sidebar — station DataTable + summary label Centre top — Plotly interactive station map (Scattergeo) Centre bottom — matplotlib profile tabs (ρₐ/φ, pseudosections, tipper, PT) Right — AI Agents: picker + log + result image Footer — status bar
Entry point:
python -m pycsamt.app.web
# → http://localhost:8050
Functions
|
Create and return the configured Dash application. |
|
Entry point: |
- pycsamt.app.web.app.create_app(debug=False)[source]#
Create and return the configured Dash application.
- Parameters:
debug (bool) – Enable Dash debug mode (hot-reload, Dev Tools panel).
- Returns:
Fully configured application with layout and callbacks registered.
- Return type:
dash.Dash
- pycsamt.app.web.app.main(host='127.0.0.1', port=8050, debug=False, open_browser=True, strict_port=False, browser_delay=1.0, argv=None)[source]#
Entry point:
python -m pycsamt.app.weborpycsamt-web.- Parameters:
host (str) – Bind address.
127.0.0.1is local-only;0.0.0.0exposes the server on the local network.port (int) – Preferred port number. If unavailable, a free port is selected unless strict_port is True.
debug (bool) – Enable Dash debug / hot-reload mode.
open_browser (bool) – Open the app in the default browser after startup.
strict_port (bool) – Raise immediately if the requested port is unavailable.
browser_delay (float) – Delay before opening the browser.
argv (sequence of str, optional) – Command-line arguments. When provided, overrides the keyword values.
- Return type:
None