full compile system build. 2. beam_spliter, MMI and spiral classes added
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
from ...structures import *
|
||||
from ...foundries import *
|
||||
import numpy as np
|
||||
from ...basic import __cell_arg__ as __cell_arg__
|
||||
from ...routing import Route as Route
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class YBranch:
|
||||
name: Incomplete
|
||||
instantiate: bool
|
||||
w: Incomplete
|
||||
L: Incomplete
|
||||
res: Incomplete
|
||||
R_att: Incomplete
|
||||
A_att: Incomplete
|
||||
w_port: Incomplete
|
||||
xs: Incomplete
|
||||
cell: Incomplete
|
||||
def __init__(self, name: str = None, xs: str = 'strip', w: list | np.ndarray = [1.2, 1.0, 1.8, 1.2, 1.0, 1.2, 1.2], L: float = 6, R_att: float = 10, A_att: float = 10, w_port: float = 0.45, show_pins: bool = False, sharp_patch: bool = True, res: float = 0.1) -> None: ...
|
||||
def generate_gds(self, show_pins: bool = False, sharp_patch: bool = True): ...
|
||||
|
||||
class Ybranch_3wg:
|
||||
name: Incomplete
|
||||
instantiate: bool
|
||||
w0: Incomplete
|
||||
w1: Incomplete
|
||||
gap: Incomplete
|
||||
Lcp: Incomplete
|
||||
xs: Incomplete
|
||||
w_wg: Incomplete
|
||||
R0: Incomplete
|
||||
angle: Incomplete
|
||||
L_attach: Incomplete
|
||||
L_in_tp: Incomplete
|
||||
cell: Incomplete
|
||||
L: Incomplete
|
||||
def __init__(self, name=None, w0: float = 0.4, w1: float = 0.2, gap: float = 0.18, Lcp: float = 20, xs: str = 'strip', w_wg: float = 0.45, R0: float = 10, angle: float = 20, L_attach: float = 3, L_in_tp: float = 3, sharp_patch: bool = True) -> None: ...
|
||||
def generate_gds(self, sharp_patch, err_asy: int = 0): ...
|
||||
def generate_test_gds(self, gc, dX_gc2gc: int = 400, dY_gc2gc: int = 80, sharp_patch: bool = True, Rbend: int = 15): ...
|
||||
Reference in New Issue
Block a user