Updated of the forge from github with image system online
This commit is contained in:
@@ -53,33 +53,44 @@ class EC_dual_layer_px3():
|
||||
Radius of curvature for associated routing bends (default is 50).
|
||||
"""
|
||||
def __init__(self,
|
||||
name,
|
||||
w_in,
|
||||
L_in,
|
||||
Ltp1,
|
||||
Ltp2,
|
||||
Ltp3,
|
||||
L_end = 0,
|
||||
w_tip_core = 0.2,
|
||||
w1_slab = 0.6,
|
||||
w_tip_slab = 0.2,
|
||||
w_mid_slab = 0.45,
|
||||
w_box = 8,
|
||||
w_box_end = 12,
|
||||
L_box_end = 2,
|
||||
w_DT = 12,
|
||||
xs_SiN = "sin",
|
||||
layer_SiN_slab = "SiN_Rib_WG",
|
||||
layer_DT = "OXIDE_FACET",
|
||||
xs_Trench = "air_trench",
|
||||
layer_top_cover = "PAD_OPTICAL",
|
||||
name: str = None,
|
||||
w_in: float = 1.0,
|
||||
L_in: float = 15,
|
||||
Ltp1: float = 100,
|
||||
Ltp2: float = 200,
|
||||
Ltp3: float = 400,
|
||||
L_end: float = 0,
|
||||
w_tip_core: float = 0.2,
|
||||
w1_slab: float = 0.6,
|
||||
w_tip_slab: float = 0.2,
|
||||
w_mid_slab: float = 0.45,
|
||||
w_box: float = 8,
|
||||
w_box_end: float = 12,
|
||||
L_box_end: float = 2,
|
||||
w_DT: float = 12,
|
||||
xs_SiN: str = "sin",
|
||||
layer_SiN_slab: str = "SiN_Rib_WG",
|
||||
layer_DT: str = "OXIDE_FACET",
|
||||
xs_Trench: str = "air_trench",
|
||||
layer_top_cover: str = "PAD_OPTICAL",
|
||||
layer_dum_exl_be:str=None,
|
||||
angle_tile = 8,
|
||||
R_bend = 50,
|
||||
angle_tile: float = 8,
|
||||
R_bend: float = 50,
|
||||
sample_build = False,
|
||||
):
|
||||
""""""
|
||||
self.name = name
|
||||
|
||||
""" This is the instruction for building a sample """
|
||||
if (sample_build):
|
||||
name = "EC_dual_layer_px3"
|
||||
w_in = 0.8
|
||||
L_in = 15
|
||||
Ltp1 = 50
|
||||
Ltp2 = 150
|
||||
Ltp3 = 450
|
||||
|
||||
|
||||
self.name = name
|
||||
if (self.name is None): self.instantiate = False
|
||||
else: self.instantiate = True
|
||||
|
||||
|
||||
@@ -87,7 +87,8 @@ class spiral:
|
||||
port_angle: float = 180,
|
||||
Euler_bend: bool = False,
|
||||
show_pins: bool = False,
|
||||
sharp_patch:bool = True
|
||||
sharp_patch:bool = True,
|
||||
sample_build:bool = False,
|
||||
):
|
||||
|
||||
self.Dmin = Dmin
|
||||
@@ -449,6 +450,8 @@ class spiral_rectangle:
|
||||
sharp_patch:bool = True,
|
||||
in_out_align = True,
|
||||
Lpatch = 0.05,
|
||||
sample_build:bool = False,
|
||||
|
||||
):
|
||||
|
||||
self.Dmin = Dmin
|
||||
|
||||
Reference in New Issue
Block a user