comnum.cdc#
- comnum.cdc(x, fiber, length_km, fs)#
Compensate the dispersion of
length_kmoffiberon a block sampled atfs(frequency domain, exact on a periodic block).- Parameters:
x (array_like) – the field.
fiber (FiberParams) – the fibre (its dispersion).
length_km (float) – the length to compensate (km).
fs (float) – sampling rate (Hz).
- Returns:
the compensated field (complex128).
- Return type:
- Raises:
ValueError – for an input that is not an array of numbers of the expected shape.