|
libSDRForge
|
Estimate channel power relative to adjacent noise from raw IQ blocks. More...
Functions | |
| tuple[float, float] | measure_channel_power (IqBlock block, *, int channel_width_hz=180_000, int guard_width_hz=40_000) |
| Return channel and noise spectral-density levels in relative dB. | |
Estimate channel power relative to adjacent noise from raw IQ blocks.
| tuple[float, float] sdrforge.dsp.channel_power.measure_channel_power | ( | IqBlock | block, |
| * | , | ||
| int | channel_width_hz = 180_000, | ||
| int | guard_width_hz = 40_000 ) |
Return channel and noise spectral-density levels in relative dB.
Measurements are normalized per FFT bin; this is not calibrated dBm. Noise is estimated from the outer passband, excluding the channel and guard.
| block | The IQ sample block to process. |
| channel_width_hz | The channel_width_hz value. |
| guard_width_hz | The guard_width_hz value. |