gplugins.modes.find_coupling_vs_gap#
- gplugins.modes.find_coupling_vs_gap(gap1: float = 0.2, gap2: float = 0.4, steps: int = 12, nmodes: int = 4, wavelength: float = 1.55, parity=0, filepath: str | Path | None = None, overwrite: bool = False, **kwargs) DataFrame [source]#
Returns coupling vs gap pandas DataFrame.
- Parameters:
gap1 – starting gap in um.
gap2 – end gap in um.
steps – number of steps.
nmodes – number of modes.
wavelength – wavelength (um).
parity – for symmetries.
filepath – optional filepath to cache results on disk.
overwrite – overwrites results even if found on disk.
- Keyword Arguments:
core_width – core_width (um) for the symmetric case.
gap – for the case of only two waveguides.
core_widths – list or tuple of waveguide widths.
gaps – list or tuple of waveguide gaps.
core_thickness – wg height (um)
slab_thickness – thickness for the waveguide slab
core_material – core material refractive index
clad_material – clad material refractive index
nslab – Optional slab material refractive index. Defaults to core_material.
ymargin – margin in y.
sz – simulation region thickness (um).
resolution – resolution (pixels/um).
nmodes – number of modes.
sidewall_angles – waveguide sidewall angle (radians), tapers from core_width at top of slab, upwards, to top of waveguide.