How oagld/emg_and_skin-temperature_data_collection works
This repository is an EMG/BioArmband acquisition and gesture-training application. Its principal workflow starts in main.py: configuration selects modalities and collection settings, the streamer acquires device data into shared memory, an online handler exposes that stream, and the session menu launches training and related tools. The graph preserves the separate screen-guided collection, media, quality-check, and analysis capabilities. Edges are limited to relationships shown in excerpts or the source index; unsampled internals are not assumed.
Main entry points: main.py Application setup · menu.py Session menu · _sifi_bridge_streamer.py Device stream process · streamers.py Streamer factory
Components 16
Session orchestration
- Application setup
main.py - Session menu
menu.py - Gesture media setup
Auxiliary.py
Signal acquisition
- SiFi armband
- Streamer factory
CustomLibEMG/streamers.py - Device stream process
CustomLibEMG/Streamer/_sifi_bridge_streamer.py - Shared-memory manager
CustomLibEMG/Streamer/shared_memory_manager.py - Online data handler
CustomLibEMG/OnlineDataHandler.py
Gesture training
- Training GUI
CustomLibEMG/gui.py - Collection panel
CustomLibEMG/SGT/_data_collection_panel.py - ODH collection panel
CustomLibEMG/SGT/_data_collection_panel_odh_enabled.py - Media handling
CustomLibEMG/SGT/_utils.py
Monitoring and analysis
- Continuous data QA
Auxiliary.py - Online analysis and logging
CustomLibEMG/OnlineDataHandler.py
Other components
- Operator
- SiFi Bridge
Connections 15
- Operator → Application setup: starts
main.py - Application setup → Streamer factory: starts acquisition
main.py - Application setup → Online data handler: creates handler
main.py - Application setup → Gesture media setup: downloads media
main.py - Application setup → Session menu: launches menu
main.py - Streamer factory → Device stream process: starts process
CustomLibEMG/streamers.py - Device stream process → Shared-memory manager: uses manager
CustomLibEMG/Streamer/_sifi_bridge_streamer.py - Device stream process → SiFi Bridge: connects and streams
CustomLibEMG/Streamer/_sifi_bridge_streamer.py - Session menu → Training GUI: imports GUI
menu.py - Session menu → Continuous data QA: imports QA tools
menu.py - Training GUI → Collection panel: creates panel
CustomLibEMG/gui.py - Collection panel → Media handling: uses utilities
CustomLibEMG/SGT/_data_collection_panel.py - ODH collection panel → Media handling: uses utilities
CustomLibEMG/SGT/_data_collection_panel_odh_enabled.py - Operator → Session menu: uses controls
- Online data handler → Online analysis and logging: provides analysis tools
CustomLibEMG/OnlineDataHandler.py