| Field | Value |
|---|---|
| Modality | PPG |
| Sample rate | 64 Hz |
| Frame size | 320 samples |
| Target CR | 16x |
| Wavelet | bior4.4 |
| DWT levels | 6 |
| Bit budget | 320 bits/frame |
| Entropy coder | arithmetic coding |
| Metric | Value |
|---|---|
| Truth PRD vs clean (%) | 10.45 |
| Truth PRD at native noise (%) | 30.02 |
| Faithful PRD vs input (%) | 8.14 |
| PRD degradation slope (PRD%/dB) | 4.30 |
| PRD at 0 dB SNR (%) | 70.59 |
| PRD at -6 dB SNR (%) | 100.40 |
| Pure-noise imprint autocorr | 0.2664 |
| Metric | Mean | Median | P90 |
|---|---|---|---|
| PRD vs input — faithfulness (%) | 8.1445 | 7.4074 | 10.4517 |
| RMSE | 0.0814 | 0.0741 | 0.1045 |
| Cosine Similarity | 0.9953 | 0.9973 | 0.9987 |
1from compressionkit.runtime import load_codec
2
3codec = load_codec("Ambiq/compressionkit-ppg-hybrid-16x")
4enc = codec.compress(frame) # frame: (frame_size,) float32
5recon = codec.decompress(enc)denoiser_gain_model.keras) currently only has a Python/TFLite runtime path. Run the denoiser stage first (Python, or a converted TFLite Micro model) and feed its output into the C SPIHT encoder below.1#include "spiht_app_config.h"
2
3float frame[APP_SPIHT_FRAME_SIZE];
4uint8_t bitstream[APP_SPIHT_MAX_BYTES];
5/* ... fill frame from sensor (post-denoise, if hybrid) ... */
6size_t nbits = spiht_encode_frame(&enc, bitstream, APP_SPIHT_MAX_BITS);| File | Description |
|---|---|
config.json | Deploy manifest (family: "hybrid") |
spiht_config.json | Codec parameters (language-neutral) |
sample_stimulus.npz | Synthetic test frames |
reference_vectors.npz | Reference encode/decode vectors |
c_sources/spiht.[ch] | Portable C99 reference |
c_sources/spiht_app_config.h | Codec-specific defines |
model_card.json | Provenance metadata |
scorecard.json | Frozen evaluation summary |
denoiser_gain_model.keras | Learned wavelet-gain denoiser (trained weights) |
hybrid_manifest.json | Pipeline stage order (denoise → SPIHT) |
1@software{compressionkit,
2 author = {Ambiq AI},
3 title = {compressionKIT: Signal Compression for Edge AI},
4 url = {https://github.com/AmbiqAI/compressionkit}
5}