get_insertion_loss
- awg_designer.all.get_insertion_loss(smatrix, input_pm, output_pms, channel_wavelengths=None)
Calculate the insertion loss for each output channel
- 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 “port”.
- output_pms: List[str]
List of output “port:mode” names for which to get the insertion loss.
- channel_wavelengths: List[float] (optional)
List of the center wavelengths of each channel. Used to limit the wavelength range to 1 FSR.