comnum.ce_ofdm_imp_powers#

comnum.ce_ofdm_imp_powers(two_pi_h, n)#

The powers e^{-φ²} φ^{2i}/i! of the intermodulation products of a phase modulator driven by a Gaussian signal of standard deviation φ = 2πh (Guerreiro et al. 2015, eqs. (12)–(14); Pacheco and Hatzinakos 2006, eq. (2)): the carrier line, the useful term, then the products of order i.

Parameters:
  • two_pi_h (float) – 2πh.

  • n (int) – number of powers.

Returns:

P_0 … P_{n-1}.

Return type:

numpy.ndarray

Raises:

ValueError – for a negative count.

Examples

>>> import comnum, math
>>> round(float(comnum.ce_ofdm_imp_powers(1.0, 3)[0]), 6) == round(math.exp(-1), 6)
True