Files
mxpic_forge/mxpic_release/mxpic/components/primitives/multimode_interferometers.pyi
T
2026-05-17 11:58:41 +08:00

30 lines
1.3 KiB
Python

from ...structures import *
from ...routing import Route as Route
from ...structures import Conchoid as Conchoid
from _typeshed import Incomplete
from turtle import shape as shape
class MMI_ML:
name: Incomplete
instantiate: bool
L_arm: Incomplete
xs: Incomplete
w_arm: Incomplete
arm_sine_width: Incomplete
L_mmi: Incomplete
w_mmi: Incomplete
res: Incomplete
N_out: Incomplete
N_in: Incomplete
Dp_out: Incomplete
Dp_in: Incomplete
mmi_sine_width: Incomplete
cell: Incomplete
L: Incomplete
def __init__(self, name=None, L_arm=[10], w_arm=[0.45, 1.35], xs: str = 'strip', arm_sine_width: bool = False, L_mmi=[10], w_mmi=[5, 5], mmi_sine_width: bool = False, sharp_patch: bool = True, show_pins: bool = False, res: float = 0.01, N_out: int = 3, N_in: int = 1, Dp_out: float = 1.5, Dp_in: float = 1.5) -> None: ...
def generate_gds(self, sharp_patch, show_pins): ...
def generate_test_gds(self, gc, dX_gc2gc, dY_gc2gc, R_bend: int = 10, Xout_offset: int = 50): ...
class MMI_STD(MMI_ML):
def __init__(self, name=None, N_out: int = 3, N_in: int = 1, L_arm: int = 10, w_wg: float = 0.45, w_port: float = 1.2, xs: str = 'strip', L_mmi: int = 10, w_mmi: int = 5, sharp_patch: bool = True, show_pins: bool = False, Dp_out: float = 1.5, Dp_in: float = 1.5) -> None: ...