libSDRForge
Loading...
Searching...
No Matches
snapshots.py File Reference

Namespaces

namespace  sdrforge
 libSDRForge public Python package.
namespace  sdrforge.telemetry
 Transport-independent SDR telemetry snapshots.
namespace  sdrforge.telemetry.snapshots
 Build JSON-safe receiver snapshots without coupling DSP to networking.

Functions

Any sdrforge.telemetry.snapshots._json_value (Any value)
dict[str, Any] sdrforge.telemetry.snapshots.spectrum_snapshot (np.ndarray power_db, *, int center_frequency_hz, int sample_rate_hz, int|None timestamp_ns=None)
 Describe ordered FFT bins spanning the given sample rate.
dict[str, Any] sdrforge.telemetry.snapshots.receiver_snapshot (Any receiver, *, int|None timestamp_ns=None, str mode="WFM", int|None bandwidth_hz=None, int|None frequency_hz=None, bool running=True)
 Build a common receiver status payload, with WFM-only metadata.