gplugins.modes.find_mode_dispersion#
- gplugins.modes.find_mode_dispersion(wavelength: float = 1.55, wavelength_step: float = 0.01, core: str = 'Si', clad: str = 'SiO2', mode_number: int = 1, **kwargs) Mode [source]#
Returns Mode with correct dispersion (ng).
group index comes from a finite difference approximation at 3 wavelengths
- Parameters:
wavelength – center wavelength (um).
wavelength_step – in um.
core – core material name.
clad – clad material name.
mode_number – mode index to compute (1: fundamental mode).
- Keyword Arguments:
core_thickness – wg height (um).
sx – supercell width (um).
sy – supercell height (um).
resolution – (pixels/um).
wavelength – wavelength.
num_bands – mode order.
plot – if True plots mode.
logscale – plots in logscale.
plotH – plot magnetic field.
cache – path to save the modes.
polarization – prefix when saving the modes.
parity – symmetries mp.ODD_Y mp.EVEN_X for TE, mp.EVEN_Y for TM.