optic.comm.metrics.theoryBER
- theoryBER(M, EbN0, constType)
Theoretical (approx.) bit error probability for PAM/QAM/PSK in AWGN channel.
- Parameters:
M (int) – Modulation order.
EbN0 (scalar) – Signal-to-noise ratio (SNR) per bit in dB.
constType (string) – Modulation type: ‘pam’, ‘qam’ or ‘psk’
- Returns:
Pb – Theoretical probability of bit error.
- Return type:
scalar
Notes
The values of error probability obtained with this function are good approximations for moderate to high SNR regime (see [1]). All cases assume Gray mapped constellations. For low SNR values and high constellation cardinalities (\(P_b\)>1e-1), the results should underestimate the real error probability.
References
[1] Proakis, J. G., & Salehi, M. Digital Communications (5th Edition). McGraw-Hill Education, 2008.