libSDRForge
Loading...
Searching...
No Matches
sdrforge.dsp.channel_power Namespace Reference

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.

Detailed Description

Estimate channel power relative to adjacent noise from raw IQ blocks.

Function Documentation

◆ measure_channel_power()

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.

Parameters
blockThe IQ sample block to process.
channel_width_hzThe channel_width_hz value.
guard_width_hzThe guard_width_hz value.
Returns
The operation result.