How volcanotech-sw/pycampermanent works
Main System Components
a) Core System Components:
• GUI Layer (/pycam/gui/)
• Controllers Layer (/pycam/controllers.py)
• Data Processing Layer (/pycam/doas/, /pycam/so2_camera_processor.py)
• Hardware Interface Layer (/pycam/scripts/)
• Networking Layer (/pycam/networking/)
• Storage Layer (/pycam/Data/)
b) External Components:
• Camera Hardware
• Spectrometer
• Cloud Storage (Dropbox/Google Drive)
• Remote Control Systems
Component Relationships
[User Interface Layer]
• ↕
[Controllers Layer]
• ↕
┌─────────────────────┐
• Processing Pipeline │
• ┘
• ↙ ↓ ↘
[DOAS] [Camera] [iFit]
• ↘ ↓ ↙
[Hardware Interface Layer]
• ↕
[Physical Devices]
Specific Implementation Details
a) Data Flow Paths:
• Image acquisition path
• Spectral data processing path
• Results storage path
• Cloud upload path
b) Key Processing Components:
• DOAS processing module
• SO2 camera processor
• iFit processing system
• Image calibration system
c) Configuration Management:
• How /pycam/conf/ affects various components
• Where configuration files are loaded
Important Architectural Patterns
• Worker Pattern (doas_worker.py, spec_worker.py)
• MVC-like structure (controllers.py, gui/, processing modules)
• Plugin architecture for different hardware interfaces
Integration Points
• Cloud service integration (Dropbox/Google Drive)
• Remote control interfaces
• Data storage systems
• Hardware communication protocols
┌─────────── Main Application ──────────┐
• ┌─────────┐ ┌─────────┐ ┌─────────┐ │
• GUI │ │ DOAS │ │ Camera │ │
• ┘ └─────────┘ └─────────┘ │
• ┘