get_nearest_neighbor_crosstalk
- awg_designer.all.get_nearest_neighbor_crosstalk(smatrix, input_pm, output_pms, channel_wavelengths)
Get the nearest neighbor cross-talk for each output port.
The cross-talk is calculated by looking for the max transmission inside each filter band due to its nearest neighbors.
- Parameters:
- smatrix:
SMatrix object as a result of a circuit simulation.
- input_pm: string
The input port/mode. For single-mode, you only need to specify the port name.
- output_pms: List[str]
List of output “port:mode” names for which to get the nearest neighbor crosstalk.
- channel_wavelengths: List[float]
List of the center wavelengths of each channel. Used to limit the wavelength range to 1 FSR and define the bands.