comnum.theory_cumulants#
- comnum.theory_cumulants(constellation, *, px=None)#
The cumulants of an alphabet (its theoretical features), with the probabilities of its points.
- Parameters:
constellation (Constellation) – the alphabet.
px (array_like, optional) – prior probabilities of the points (uniform by default).
- Returns:
as
cumulants().- Return type:
- Raises:
ValueError – for an invalid parameter or input (the message names it).
Examples
>>> import comnum >>> round(comnum.theory_cumulants(comnum.Constellation("qam", 16))["c42_normalized"], 2) -0.68