optic.comm.metrics.theoryMI
- theoryMI(M, constType, SNR, pX=None, symmetry=True, lim=inf, tol=0.001)
Calculate mutual information for discrete input continuous output the memoryless AWGN channel (DCMC).
- Parameters:
M (int) – Number of symbols in the constellation.
constType (str) – Type of constellation (‘qam’, ‘psk’).
SNR (float) – Signal-to-noise ratio in dB.
pX (array_like, optional) – Probability of each transmitted symbol (default is None).
symmetry (bool, optional) – Flag to exploit rotational symmetry of the constellation (default is True).
lim (int, optional) – Limit for numerical integration (default is np.inf).
tol (float, optional) – Tolerance for numerical integration error (default is 1e-3).
- Returns:
Mutual information for the given parameters.
- Return type:
float
References
[1] A. Alvarado, T. Fehenberger, B. Chen, e F. M. J. Willems, “Achievable Information Rates for Fiber Optics: Applications and Computations”, Journal of Lightwave Technology, vol. 36, nº 2, p. 424–439, jan. 2018, doi: 10.1109/JLT.2017.2786351.