optic.dsp.core.calcMZM

calcMZM(Ai, Vpi, u, Vb)

Fast function to calculate the Mach-Zehnder modulator (MZM) model.

Parameters:
  • Ai (float) – Amplitude of the input signal.

  • Vpi (float) – Half-wave voltage of the MZM.

  • u (float) – DC bias voltage.

  • Vb (float) – Voltage applied to the MZM.

Returns:

Output signal after modulation.

Return type:

float