comnum.theory_biawgn_capacity#
- comnum.theory_biawgn_capacity(ebn0_db, rate)#
Capacity of the binary-input AWGN channel for a code rate (the noise variance is
1/(2 R Eb/N0)).- Parameters:
- Returns:
the capacity (bits per channel use) at every
Eb/N0.- Return type:
- Raises:
ValueError – for values that are not real numbers.
Examples
>>> import comnum >>> round(comnum.theory_biawgn_capacity(comnum.theory_shannon_limit_ebn0_db(0.5), 0.5), 6) 0.5