sdr.ErrorRate.error_rate(snr: float) float

Returns the error rate at the specified signal-to-noise ratio (SNR).

Parameters:
snr: float

The signal-to-noise ratio (SNR) in dB. This can be \(E_b/N_0\), \(E_s/N_0\), \(S/N\), \(C/N_0\), or other SNR quantities. However, users are cautioned to be consistent for a given class instance.

Returns:

The error rate at the specified SNR.

Examples

See the class Examples section.