comnum.snr_db#
- comnum.snr_db(rx, tx)#
SNR (dB) of a received sequence against the transmitted one,
10 log10(P_tx/P_{rx-tx}).- Parameters:
rx (array_like) – the received samples.
tx (array_like) – the transmitted samples, of the same length.
- Returns:
the SNR (dB).
- Return type:
- Raises:
ValueError – for an invalid parameter or input (the message names it).