How aahmeddev/dapp2_mol_group_f-myowave works
MYOWAVE acquires uterine EHG signals, turns contractions into spectral and temporal event features, stores longitudinal records, and presents them to researchers and participants. The principal workflow runs from a researcher-managed session through serial acquisition, local buffering, feature extraction, and cloud synchronization, then into cohort, patient, and export views. The README also documents patient cycle and pain logging, synthetic cohort generation, and remote tunnels. Some links rely on README statements or the source index because the relevant implementation was not excerpted.
Main entry points: background_service.py Serial DAQ Service · dashboard.py Researcher Portal · config_db.py Firebase Records · launcher.py Platform Launcher
Components 17
Acquisition & DSP
- Serial DAQ Service
nicegui_site/background_service.py - EHG Hardware
- Feature Extraction
nicegui_site/dsp_math.py
Research Data
- Local SQLite Store
nicegui_site/config_db.py - Firebase Records
nicegui_site/config_db.py - Synthetic Cohort Generator
nicegui_site/generate_synthetic_data.py
Researcher Portal
- Researcher Portal
nicegui_site/dashboard.py - Shared Navigation
nicegui_site/layout.py - Session Manager
nicegui_site/page_manager.py - Cohort Analysis
nicegui_site/page_cohort.py - Patient Analysis
nicegui_site/page_patient.py - Dataset Export
nicegui_site/page_export.py
Participant & Access
- Platform Launcher
nicegui_site/launcher.py - Patient Portal
nicegui_site/patient_app.py - Cloudflare Tunnels
Other components
- Researcher
- Participant
Connections 22
- Researcher → Platform Launcher: starts platform
README.md - Platform Launcher → Serial DAQ Service: starts service
README.md - Platform Launcher → Researcher Portal: launches portal
README.md - Platform Launcher → Patient Portal: launches portal
README.md - Platform Launcher → Cloudflare Tunnels: configures tunnels
README.md - Serial DAQ Service → EHG Hardware: reads serial
nicegui_site/background_service.py - Serial DAQ Service → Local SQLite Store: stores raw samples
nicegui_site/background_service.py - Serial DAQ Service → Local SQLite Store: reads pending events
nicegui_site/background_service.py - Serial DAQ Service → Feature Extraction: extracts features
nicegui_site/background_service.py - Serial DAQ Service → Firebase Records: syncs event features
nicegui_site/background_service.py - Synthetic Cohort Generator → Firebase Records: populates cohort
nicegui_site/generate_synthetic_data.py - Researcher Portal → Session Manager: routes to
nicegui_site/dashboard.py - Researcher Portal → Cohort Analysis: routes to
nicegui_site/dashboard.py - Researcher Portal → Patient Analysis: routes to
nicegui_site/dashboard.py - Researcher Portal → Dataset Export: routes to
nicegui_site/dashboard.py - Session Manager → Firebase Records: reads patient data
nicegui_site/page_manager.py - Cohort Analysis → Firebase Records: loads cohort events
nicegui_site/page_cohort.py - Patient Analysis → Firebase Records: loads patient records
nicegui_site/page_patient.py - Dataset Export → Firebase Records: loads export data
nicegui_site/page_export.py - Researcher Portal → Shared Navigation: renders navigation
- Patient Portal → Firebase Records: syncs cycle and pain
README.md - Participant → Patient Portal: uses portal
README.md