How sco1/pyflysight works
Main Components
a. Core Processing Components:
• FlySight V1 Parser
• FlySight V2 Parser
• Log Processing Utilities
• Configuration Utilities
• Device Interaction Layer
b. Data Flow Components:
• Input Data Handlers (CSV files)
• Data Processing Pipeline
• Output Formatters
• Interactive Trimming Interface
┌─ User Interface Layer ─────────────────────┐
• CLI Interface │
• Interactive Trimming GUI │
• ┬───────────────────────┘
• ↓
┌─ Processing Layer ──────────────────────────┐
• ┌─ Parser Module ─┐ ┌─ Utils Module ─┐ │
• V1 Parser │ │ - Log Utils │ │
• V2 Parser │ │ - Config Utils │ │
• ┘ └───────────────┘ │
• ┌─ Core Processing ─────────────────┐ │
• Data Transformation │ │
• Time Series Processing │ │
• Sensor Data Integration │ │
• ┘ │
• ┬───────────────────────┘
• ↓
┌─ Data Layer ────────────────────────────────┐
• ┌─ Input Formats ─┐ ┌─ Output Formats ─┐ │
• V1 CSV │ │ - Polars DF │ │
• V2 CSV │ │ - Trimmed CSV │ │
• Config Files │ │ - JSON │ │
• ┘ └────────────────┘ │
• ┘
Key Elements to Highlight
• Blue: User Interface components
• Green: Processing components
• Yellow: Data storage/formats
• Red: Critical paths/dependencies
b. Interaction Flows:
• Bidirectional data flow between parsers and core processing
• Data transformation pipeline
• Async operations for device interaction
Implementation Details
• The modular nature of the parsers
• The separation between device interaction and data processing
• The extensible nature of the processing pipeline
• The interactive trimming functionality as a separate module
Technical Stack Indicators
• Python 3.x
• Polars (for DataFrame processing)
• Click (for CLI)
• Plotting libraries for interactive trimming
Documentation Integration
Connections to:
• API Documentation
• Configuration Documentation
• User Guide Integration