legume.GuidedModeExp.compute_rad

GuidedModeExp.compute_rad(kind, minds=[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.

  • rad_coup (dict) – Coupling to te (s) and tm (p) radiative modes in the lower/upper cladding.

  • rad_gvec (dict) – Reciprocal lattice vectors in the lower/upper cladding corresponding to rad_coup.