How karansarda-cell/f1-vision works
F1 Vision combines race-session selection and telemetry loading with a visual race replay, qualifying replay, and a separate insights experience. Its other major branches are a trained tyre-degradation model and Bayesian lap-by-lap tyre-health tracking. The graph follows the documented entry and replay flow and indexed imports; unsampled modules are included where README capabilities or the source index identify them, but uncertain runtime links are omitted.
Main entry points: main.py Application entry · f1_data.py Session telemetry · insights_menu.py Insights menu · race_replay.py Race replay
Components 23
Session and data
- Application entry
main.py - GUI selection
src/gui/race_selection.py - CLI selection
src/cli/race_selection.py - Session telemetry
src/f1_data.py - App settings
src/lib/settings.py - Season lookup
src/lib/season.py
Replay experience
- Replay launcher
src/run_session.py - Race replay
src/interfaces/race_replay.py - Qualifying replay
src/interfaces/qualifying.py - Replay UI components
src/ui_components.py - Time utilities
src/lib/time.py
Insights
- Insights menu
src/gui/insights_menu.py - Track position map
src/insights/track_position_window.py - Driver telemetry
src/insights/driver_telemetry_window.py - Tyre strategy view
src/insights/tyre_strategy_window.py - Race control feed
src/insights/race_control_feed_window.py - Telemetry stream
src/services/stream.py - Stream viewer
src/insights/telemetry_stream_viewer.py
Tyre analytics
- Degradation model
src/models/tyre_degradation_model.py - Bayesian tyre health
src/bayesian_tyre_model.py - Tyre model integration
src/tyre_degradation_integration.py
Other components
- Race engineer
- FastF1
Connections 26
- Race engineer → Application entry: starts
README.md - Race engineer → GUI selection: selects session
README.md - Application entry → GUI selection: opens
main.py - Application entry → CLI selection: dispatches
main.py - Application entry → Session telemetry: loads session
main.py - Application entry → Replay launcher: launches replay
main.py - Application entry → Qualifying replay: launches qualifying
main.py - GUI selection → Session telemetry: loads session
src/gui/race_selection.py - GUI selection → Season lookup: gets seasons
src/gui/race_selection.py - CLI selection → Session telemetry: loads session
src/cli/race_selection.py - CLI selection → Season lookup: gets seasons
src/cli/race_selection.py - Session telemetry → FastF1: loads race data
README.md - Replay launcher → Race replay: creates window
src/run_session.py - Replay launcher → Stream viewer: launches viewer
src/run_session.py - Race replay → Replay UI components: uses UI
src/interfaces/race_replay.py - Qualifying replay → Replay UI components: uses UI
src/interfaces/qualifying.py - Race replay → Telemetry stream: broadcasts frames
src/interfaces/race_replay.py - Insights menu → Track position map: opens view
src/gui/insights_menu.py - Insights menu → Driver telemetry: opens view
src/gui/insights_menu.py - Insights menu → Tyre strategy view: opens view
src/gui/insights_menu.py - Insights menu → Race control feed: opens view
src/gui/insights_menu.py - Stream viewer → Telemetry stream: receives frames
src/insights/telemetry_stream_viewer.py - Race engineer → Degradation model: runs model
README.md - Session telemetry → Degradation model: supplies session data
- Race replay → Tyre model integration: uses tyre health
src/interfaces/race_replay.py - Tyre model integration → Bayesian tyre health: calls model
src/tyre_degradation_integration.py