No description
- FFT-based breathing rate estimator: 512-sample window at 20Hz, zero-padded to 1024, dominant peak detection in 0.1-0.5 Hz band (6-30 BPM), 60-second EMA smoothing - Per-night statistics: breathing_rate_avg, breathing_regularity (CV), anomaly count - Anomaly detection: 30-day personal average (EMA α=0.05), flags when >25% above baseline - Morning briefing integration: elevated breathing rate warnings with BPM comparison - SQLite: breathing_anomaly BOOL and breathing_samples_json columns on sleep_records - API: GET /api/sleep includes breathing anomaly and personal average fields - Table-driven tests for FFT accuracy, EMA convergence, anomaly thresholds, regularity Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .beads | ||
| .marathon | ||
| dashboard | ||
| docs | ||
| firmware | ||
| mothership | ||
| .dockerignore | ||
| .gitignore | ||
| .needle-predispatch-sha | ||
| .needle.yaml | ||
| docker-compose.yml | ||
| Dockerfile | ||
| PROGRESS.md | ||
| VERSION | ||