legume.GuidedModeExp.compute_rad

GuidedModeExp.compute_rad(kind: int, minds: list = [0])

Compute the radiation losses of the eigenmodes after the dispersion has been computed.

Parameters:
  • kind (int) – Index of the k-point for the computation.
  • minds (list, optional) – Indexes of which modes to be computed. Max value must be smaller than GuidedModeExp.numeig set in GuidedModeExp.run().
Returns:

  • freqs_im (np.ndarray) – Imaginary part of the frequencies of the eigenmodes computed by the guided-mode expansion.
  • coup_l (dict) – Coupling to ‘te’ and ‘tm’ radiative modes in the lower cladding.
  • coup_u (dict) – Coupling to ‘te’ and ‘tm’ radiative modes in the upper cladding.