comnum.theory_shannon_limit_ebn0_db#
- comnum.theory_shannon_limit_ebn0_db(rate)#
The smallest
Eb/N0at which BPSK supports a code rate.- Parameters:
rate (float | array_like) – the code rate
R.- Returns:
the limit (dB).
- Return type:
- Raises:
ValueError – for values that are not real numbers.
Examples
>>> import comnum >>> round(comnum.theory_shannon_limit_ebn0_db(0.5), 3) 0.187