comnum.linear_fiber_channel#
- comnum.linear_fiber_channel(x, fiber, length_km, fs)#
Loss and dispersion of
length_kmof fibre on a block sampled atfs(OptiCommPylinearFiberChannel).- Parameters:
x (array_like) – the field (√W).
fiber (FiberParams) – the fibre.
length_km (float) – the length (km).
fs (float) – sampling rate (Hz).
- Returns:
the field at the output (complex128).
- Return type:
- Raises:
ValueError – for an input that is not an array of numbers of the expected shape.