Store compressed frames on a wearable or gateway and reconstruct them for later analysis. Include timestamps and framing overhead in the storage budget.
Use cases
Use compressionKIT when you need to retain or transfer ECG or PPG waveforms and want to compare a smaller payload against reconstruction quality.
Where compression can help
Section titled “Where compression can help”Reduce the signal payload sent to a phone or server. Measure total transmitted bytes and encoder compute cost in your own transport workflow.
Compare reconstructed waveforms with the original recordings. Examine the measurements and signal conditions that matter to your application.
Compare neural, DSP, and hybrid methods using shared evaluation and packaging tools.
Estimate the payload
Section titled “Estimate the payload”For a single channel, the uncompressed payload rate is:
raw bytes/second = samples/second × bits/sample ÷ 8compressed payload ≈ raw payload ÷ compression ratioThe examples below assume 16-bit samples, continuous recording, and an 8× payload compression ratio. They are arithmetic sizing examples, not measured device results.
| Signal | Sample rate | Raw payload | At 8× | Raw per hour | At 8× per hour |
|---|---|---|---|---|---|
| PPG | 64 Hz | 128 B/s | 16 B/s | 460.8 kB | 57.6 kB |
| ECG | 256 Hz | 512 B/s | 64 B/s | 1,843.2 kB | 230.4 kB |
Here, 1 kB is 1,000 bytes. Add packet headers, timestamps, metadata, and any padding to budget a complete recording. Model weights and codebooks consume additional storage independently of the recorded payload.
A smaller payload does not directly establish battery life or total system savings. Those depend on encoder execution, buffering, radio behavior, and where decoding runs.
Choose quality requirements before a ratio
Section titled “Choose quality requirements before a ratio”- Identify what the reconstructed waveform must preserve, such as peak timing or pulse shape.
- Compare several ratios on representative recordings, including noisy segments.
- Inspect waveform error and downstream measurements together. An average can hide difficult cases.
- Measure complete payload size, memory use, and runtime on the intended integration.
The customer evidence page provides recorded results and their limits. The validation scorecard explains the metrics. Neither a codec ratio nor a single score establishes suitability for a clinical application.
Try the workflow
Section titled “Try the workflow”Start with the installation and round-trip guide, then use the evaluation notebook with your signal. See deployment when you are ready to integrate a validated package.