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

142 lines
6.0 KiB
Python

from ...basic import __cell_arg__ as __cell_arg__
from ...routing import Route as Route
from ...structures import Clothoid as Clothoid, circle as circle
from _typeshed import Incomplete
class ring_bus_wg:
xs: Incomplete
R_cp: Incomplete
w_bus: Incomplete
dLc: Incomplete
dAc: Incomplete
w_wg: Incomplete
bend_DC: Incomplete
euler_transistion: Incomplete
dL_trans: Incomplete
dA_trans: Incomplete
R_max_trans: Incomplete
w_trans: Incomplete
R_max_anti: Incomplete
R_min_anti: Incomplete
A_anti: Incomplete
wg_Ltp: Incomplete
dL_p2p: Incomplete
res: Incomplete
end_patch: Incomplete
L: int
clothoid_order: Incomplete
cell: Incomplete
def __init__(self, xs: str = 'strip', R_cp: int = 20, w_bus: float = 0.5, bend_DC: bool = True, w_wg: float = 0.5, dLc: int = 10, dAc: int = 10, euler_transistion: bool = False, dL_trans: int = 10, dA_trans: int = 30, R_max_trans: int = 100, w_trans: float = 0.5, euler_anti_bend: bool = False, R_max_anti: int = 100, R_min_anti: int = 10, A_anti=None, res: float = 0.1, wg_Ltp: int = 5, dL_p2p=None, sharp_patch: bool = True, show_pins: bool = False, end_patch: bool = False, clothoid_order: int = 1) -> None: ...
w: Incomplete
sz: Incomplete
def generate_gds(self, sharp_patch, show_pins: bool = False): ...
class ADC_STD_2x2:
name: Incomplete
instantiate: bool
wu0: Incomplete
xs: Incomplete
wu1: Incomplete
wu_in: Incomplete
wu_out: Incomplete
wd0: Incomplete
wd1: Incomplete
wd_in: Incomplete
wd_out: Incomplete
Lu: Incomplete
Ld: Incomplete
angle: Incomplete
g0: Incomplete
g1: Incomplete
sbend_type: Incomplete
Rmax: Incomplete
Rmin: Incomplete
sharp_patch: Incomplete
euler_points: Incomplete
res: Incomplete
Ru0: Incomplete
Ru1: Incomplete
Rd0: Incomplete
Rd1: Incomplete
tp_angle: Incomplete
cell: Incomplete
L: Incomplete
def __init__(self, name=None, xs: str = 'strip', wu0: float = 0.45, wu1: float = 0.61, wu_in: float = 0.45, wu_out: float = 0.8, wd0: float = 0.33, wd1: float = 0.2, wd_in: float = 0.45, wd_out: float = 0.8, Lu: int = 33, Ld: int = 33, angle: int = 20, g0: float = 0.2, g1: float = 0.2, sbend_type: str = 'euler', Rmax=None, Rmin: int = 5, Ru0: int = 0, Ru1: int = 20, Rd0: int = 20, Rd1: int = 0, tp_angle: int = 2, sharp_patch: bool = True, show_pins: bool = False, euler_points: int = 64, res: float = 0.1) -> None: ...
def generate_gds(self, err: int = 0, show_pins: bool = False): ...
err: Incomplete
def generate_err(self, err: float = 0.02): ...
def generate_test_gds(self, gc, dX_gc2gc: int = 400, dY_gc2gc: int = 80, sharp_patch: bool = True): ...
class DC(ADC_STD_2x2):
def __init__(self, name=None, xs: str = 'strip', w_cp: float = 0.45, w_wg: float = 0.45, L_cp: float = 30, angle: float = 20, gap: float = 0.2, sbend_type: str = 'circular', Rmax: float = None, Rmin: float = 5, R0: float = 10, tp_angle: float = 2, sharp_patch: bool = True, show_pins: bool = False) -> None: ...
def generate_test_gds(self, gc, dX_gc2gc: int = 300, dY_gc2gc: int = 40, sharp_patch: bool = True): ...
class BS_tdc(ADC_STD_2x2):
def __init__(self, name=None, xs: str = 'strip', wa0: float = 0.35, wa1: float = 0.45, wb0: float = 0.55, wb1: float = 0.45, w_wg: float = 0.45, gap: float = 0.2, Lt: float = 20, R0: float = 30, angle: float = 15, sbend_type: str = 'circle') -> None: ...
class MDM(ADC_STD_2x2):
wb0: Incomplete
wb1: Incomplete
w0: Incomplete
w1: Incomplete
w_wg: Incomplete
gap0: Incomplete
gap1: Incomplete
Lt_bus: Incomplete
Lt_cp: Incomplete
xs: Incomplete
R0: Incomplete
angle: Incomplete
symmetric_BUS: Incomplete
Rmin: Incomplete
L: Incomplete
def __init__(self, name=None, xs: str = 'strip', wb0: float = 0.45, wb1: float = 0.61, wb_in: float = 0.45, wb_out: float = 0.88, w_wg: float = 0.45, w0: float = 0.33, w1: float = 0.2, gap0: float = 0.2, Lt_bus: float = 20, R0: float = 40, angle: float = 22.5, Lt_cp: float = None, gap1: float = None, Lb0: float = None, symmetric_BUS: bool = True, single_end: bool = True, Rmin: float = 8) -> None: ...
def generate_test_gds(self, gc, dX_gc2gc: int = 300, dY_gc2gc: int = 40, sharp_patch: bool = True): ...
class DC_bend:
name: Incomplete
instantiate: bool
w_in: Incomplete
w_out: Incomplete
gap: Incomplete
r_in: Incomplete
r_out: Incomplete
theta_arc: Incomplete
theta_ext: Incomplete
w_wg: Incomplete
xs_wg: Incomplete
sharp_patch: Incomplete
show_pins: Incomplete
cell: Incomplete
def __init__(self, name=None, w_in: float = 0.45, w_out: float = 0.45, gap: float = 0.2, r_in: int = 40, theta_arc: int = 30, w_wg: float = 0.45, theta_ext: int = 15, xs_wg: str = 'strip', sharp_patch: bool = True, show_pins: bool = False) -> None: ...
width: Incomplete
length: Incomplete
def generate_gds(self, cellname: str = ''): ...
def generate_test_gds(self, gc, dX_gc2gc: int = 300, dY_gc2gc: int = 40, sharp_patch: bool = True): ...
class DC_pX_3sg:
name: Incomplete
instantiate: bool
xs_wg: Incomplete
Lc1: Incomplete
Lp1: Incomplete
Lc2: Incomplete
Lt: Incomplete
w_cp: Incomplete
dw: Incomplete
gap: Incomplete
R0: Incomplete
A: Incomplete
w_wg: Incomplete
sharp_patch: Incomplete
pX_type: Incomplete
port_symmetric: Incomplete
cell: Incomplete
cellU: Incomplete
cellD: Incomplete
L: Incomplete
length: Incomplete
def __init__(self, name=None, xs_wg: str = 'strip', Lc1: float = 10, Lp1: float = 5, Lc2: float = 10, Lt: float = 1, w_cp: float = 0.5, dw: float = 0.1, gap: float = 0.2, R0: float = 10, A: float = 15, w_wg: float = 0.45, pX_type: str = 'symmetric', port_symmetric: bool = True, sharp_patch: bool = True) -> None: ...
def generate_gds(self, err: int = 0): ...
def generate_test_gds(self, gc, dX_gc2gc: int = 300, dY_gc2gc: int = 40, sharp_patch: bool = True): ...