get_crosstalk

awg_designer.all.get_crosstalk(smatrix, input_pm, output_pms, channel_wavelengths)

Get the crosstalk for each output port. It ignores nearest neighbors.

The crosstalk is calculated by looking for the max transmission inside each filter band given all other output bands (but ignoring the 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 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.