Crate hybrid_phi
Source - core
- Core φ-based approximation logic
Contains lookup table, hybrid_phi_approximate and hybrid_phi_inverse
- memory
- φ-memory module for reversible encoding/decoding of value sequences
Uses hybrid_phi core approximation functions
- phi_bundle
- phi_bundle: self-contained φ-memory package (data + metadata)
Supports JSON serialization for portable storage and transmission
- phi_codec
- φ-codec module: compact interface to encode & decode single values
Useful for pipelines, testing and expressive visualizations
- phi_fs
- φ-fs: named storage for quantized φ-memories
Save/load sets of φ-encoded data with labels
- phi_meta
- phi_meta: metadata handler for φ-memory entries
Supports structured save/load of metadata alongside binary φ-data
- phi_router
- φ-router: signal-to-memory matching and routing
Maps input φ-signals to named memory slots
- quantized_memory
- Quantized φ-memory: lossy φ-based encoding with configurable step
Useful for compressing or storing signal “shadows”
- signal
- φ-signal module for encoding and decoding simple signals
Demonstrates how hybrid φ can represent wave-like or temporal data
- storage
- φ-storage module: save/load quantized φ-memory to/from file