comnum.theory_css_ser#

comnum.theory_css_ser(sf, snr_db, *, approximation=None)#

The SER of the noncoherent CSS receiver over AWGN at the SNR per sample (dB), exact (Afisiadis et al. 2020, eq. (16)); approximation="rice" or "gumbel" gives their eqs. (17) and (18).

Parameters:
  • sf (int) – spreading factor.

  • snr_db (float | array_like) – SNR per sample (dB).

  • approximation (str | None) – None, "rice" or "gumbel".

Returns:

the SER.

Return type:

float | numpy.ndarray

Raises:

ValueError – for an invalid parameter or input (the message names it).

Examples

>>> import comnum
>>> round(comnum.theory_css_ser(7, -8.0), 5)
0.00161