optic.comm.modulation.softEstimator

softEstimator(llr, bitMap, constSymb)

Estimates the mean and variance of the received symbols based on LLRs and the bit mapping.

Parameters:
  • llr (ndarray of shape (numSymb, numBits)) – Log-likelihood ratios for each bit in the symbol.

  • bitMap (ndarray of shape (M, numBits)) – Bit mapping of constellation points (binary matrix).

  • constSymb (ndarray of shape (M,)) – Complex-valued constellation symbols.

Returns:

  • softMean (ndarray of shape (numSymb,))

  • softVar (ndarray of shape (numSymb,))