sdr.papr(x: NDArray, axis: int | tuple[int, ...] | None = None) float

Measures the peak-to-average power ratio (PAPR) of a time-domain signal \(x[n]\).

\[\text{PAPR} = 10 \log_{10} \frac{P_{\text{peak}}}{P_{\text{avg}}}\]

Parameters:
x: NDArray

The time-domain signal \(x[n]\) to measure.

axis: int | tuple[int, ...] | None = None

Axis or axes along which to compute the PAPR. The default is None, which computes the PAPR of the entire array.

Returns:

The PAPR of \(x[n]\) in dB.

References