legume.GuidedModeExp.compute_rad_sp
- GuidedModeExp.compute_rad_sp(kind, minds=[0])
Compute the radiation losses of the eigenmodes after the dispersion has been computed. Unlike
GuidedModeExp.compute_rad(), this method separates the contribution form coupling to te-(s-) and tm-(p-)polarized radiative modes.- 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.
freqs_im_te (np.ndarray) – Imaginary part of the frequencies of the eigenmodes computed by the guided-mode expansion due to coupling to te (s) radiative mode
freqs_im_tm (np.ndarray) – Imaginary part of the frequencies of the eigenmodes computed by the guided-mode expansion due to coupling to tm (p) radiative mode
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.