Views
No views yet
| Field | Value |
|---|---|
| Modality | ECG |
| Sample rate | 256 Hz |
| Frame size | 512 samples |
| Target CR | 16x |
| Wavelet | bior4.4 |
| DWT levels | 6 |
| Bit budget | 512 bits/frame |
| Entropy coder | arithmetic coding |
| Metric | Value |
|---|---|
| Truth PRD vs clean (%) | 6.16 |
| Truth PRD at native noise (%) | 38.75 |
| Faithful PRD vs input (%) | 8.83 |
| PRD degradation slope (PRD%/dB) | 3.95 |
| PRD at 0 dB SNR (%) | 52.21 |
| PRD at -6 dB SNR (%) | 80.21 |
| Pure-noise imprint autocorr | 0.2473 |
| Metric | Mean | Median | P90 |
|---|---|---|---|
| PRD vs input — faithfulness (%) | 8.8308 | 7.5208 | 14.7345 |
| RMSE | 0.0883 | 0.0752 | 0.1473 |
| Cosine Similarity | 0.9946 | 0.9972 | 0.9990 |
1from compressionkit.runtime import load_codec
2
3codec = load_codec("Ambiq/compressionkit-ecg-spiht-16x")
4enc = codec.compress(frame) # frame: (frame_size,) float32
5recon = codec.decompress(enc)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: "spiht") |
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 |
1@software{compressionkit,
2 author = {Ambiq AI},
3 title = {compressionKIT: Signal Compression for Edge AI},
4 url = {https://github.com/AmbiqAI/compressionkit}
5}