comnum.css_interference_pattern#

comnum.css_interference_pattern(sf, s1, s2, tau)#

The pattern R_k that a same-SF interferer leaves after the dechirping (Afisiadis et al. 2020, eq. (25)).

Parameters:
  • sf (int) – spreading factor.

  • s1 (int) – the interfering symbol that ends in the window.

  • s2 (int) – the interfering symbol that starts tau chips in.

  • tau (float) – offset in chips, 0 ≤ tau < M.

Returns:

M complex values.

Return type:

numpy.ndarray

Raises:

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