comnum.phase_modulator#
- comnum.phase_modulator(e, u, *, vpi=2.0)#
Phase modulator
E e^{jπu/V_π}(OptiCommPypm).- Parameters:
e (array_like) – the optical field (√W).
u (array_like) – the driving voltage (V), one value per sample.
vpi (float) – the half-wave voltage
V_π(V).
- Returns:
the modulated field (complex128).
- Return type:
- Raises:
ValueError – for an invalid parameter or input (the message names it).