|
libSDRForge
|
Per-virtual-channel RF diagnostics, independent of SDR hardware. More...
Classes | |
| class | ChannelRfTelemetry |
| Provide channel rf telemetry behavior. More... | |
Functions | |
| ChannelRfTelemetry | measure_channel_rf (np.ndarray iq, *, float adc_clip_fraction=0.0) |
| Estimate in-channel spectral contrast, not calibrated RF SNR. | |
| float | adc_clip_fraction (bytes raw, *, int threshold=2) |
| Fraction of raw 8-bit I/Q components near either ADC rail. | |
Per-virtual-channel RF diagnostics, independent of SDR hardware.
| float sdrforge.diagnostics.channel_rf_telemetry.adc_clip_fraction | ( | bytes | raw, |
| * | , | ||
| int | threshold = 2 ) |
Fraction of raw 8-bit I/Q components near either ADC rail.
| raw | The raw value. |
| threshold | The threshold value. |
| ChannelRfTelemetry sdrforge.diagnostics.channel_rf_telemetry.measure_channel_rf | ( | np.ndarray | iq, |
| * | , | ||
| float | adc_clip_fraction = 0.0 ) |
Estimate in-channel spectral contrast, not calibrated RF SNR.
Noise floor is the median spectral-bin power, and estimated SNR is peak-bin contrast above that median. FM modulation, adjacent signals, filtering and FFT size influence this value. Never use it as a calibrated RF signal-to-noise ratio.
| iq | The complex IQ samples to process. |
| adc_clip_fraction | The adc_clip_fraction value. |