full compile system build. 2. beam_spliter, MMI and spiral classes added
Build and Release mxPIC Wheels / Build on ubuntu-latest (release) Failing after 7m8s
Build and Release mxPIC Wheels / Build on windows-latest (release) Has been cancelled
Build and Release mxPIC Wheels / Publish to GitHub Releases (release) Has been cancelled

This commit is contained in:
2026-05-07 17:10:00 +08:00
parent dda69d5b84
commit d7c19ed782
115 changed files with 5448 additions and 509 deletions
+113
View File
@@ -0,0 +1,113 @@
import numpy as np
from _typeshed import Incomplete
class hole:
cell: Incomplete
def __init__(self, r_hole: float = 0.3, Dx_hole: float = 0.3, Dy_hole: float = 0.3, Lx_sq: int = 6, Ly_sq: int = 6, offset: int = 0, res: float = 0.05, xs: str = 'strip', layer=None, sharp_patch: bool = True, hole_shape: str = 'circle') -> None: ...
class strt_round_courner:
cell: Incomplete
def __init__(self, width: int = 5, length: int = 10, layer=None, radius: int = 1, n_points: int = 64) -> None: ...
class circle:
vtx: Incomplete
sz: Incomplete
w: Incomplete
cell: Incomplete
def __init__(self, radius: int = 10, width: float = 0.45, theta_start: int = 0, theta_stop: int = 360, res: float = 0.05, angle=None, xs: str = 'strip', layer=None, sharp_patch: bool = True, y_cut=None) -> None: ...
class mx_bend:
sz: Incomplete
w: Incomplete
cell: Incomplete
def __init__(self, radius: int = 10, width: float = 0.45, theta_start: int = 0, theta_stop: int = 360, res: float = 0.05, angle=None, xs: str = 'strip', layer=None, sharp_patch: bool = True) -> None: ...
class Elipse_dual:
ORx: Incomplete
ORy: Incomplete
IRx: Incomplete
IRy: Incomplete
offset_X: Incomplete
offset_Y: Incomplete
xs: Incomplete
layer: Incomplete
res: Incomplete
theta_start: Incomplete
theta_stop: Incomplete
y_cut: Incomplete
cell: Incomplete
wa: Incomplete
wb: Incomplete
def __init__(self, ORx: float, ORy: float, IRx: float, IRy: float, offset_X: float = 0, offset_Y: float = 0, xs: str = None, layer: str = None, theta_start: float = 0, theta_stop: float = 360, sharp_patch: bool = True, res: float = 0.001, y_cut=None) -> None: ...
sz: Incomplete
def generate_gds(self, sharp_patch): ...
class Elipse:
La: Incomplete
Lb: Incomplete
wa: Incomplete
wb: Incomplete
offset_a: Incomplete
offset_b: Incomplete
type: Incomplete
layer: Incomplete
xs: Incomplete
theta_start: Incomplete
theta_stop: Incomplete
res: Incomplete
cell: Incomplete
def __init__(self, La=None, Lb=None, wa=None, wb=None, offset_a: int = 0, offset_b: int = 0, type: str = 'center', width_type: str = 'sine', layer=None, xs=None, theta_start: int = 0, theta_stop: int = 360, res: float = 0.001, sharp_patch: bool = False, show_pins: bool = False) -> None: ...
sz: Incomplete
def generate_gds(self, sharp_patch, show_pins): ...
class Conchoid:
Atilt: Incomplete
L: Incomplete
cell: Incomplete
vtx_center: Incomplete
vtx: Incomplete
K_end: Incomplete
R_end: Incomplete
def __init__(self, R0, kR, T, w, layer, w_end=None, res: float = 0.1, final_flat=None, begin_flat=None, xs=None) -> None: ...
class Clothoid:
name: Incomplete
R: Incomplete
A: Incomplete
width_type: Incomplete
spiral_order: Incomplete
dL_cal: Incomplete
xs: Incomplete
layer: Incomplete
dL_wg: Incomplete
x: Incomplete
y: Incomplete
L: Incomplete
L0: Incomplete
theta: Incomplete
vtx_center: Incomplete
end_patch: Incomplete
sz: Incomplete
n_points: Incomplete
w: Incomplete
cell: Incomplete
def __init__(self, name: str = None, R: list | np.ndarray = [10, 20], w: list | np.ndarray | float = [0.4, 0.5], A: list | np.ndarray = [0, 45], width_type: str = 'sine', spiral_order: float | list = 1, Rmax: float = 10000, dL_cal: float = 0.001, dL_wg: float = 0.1, xs: str = 'strip', layer: str = None, sharp_patch: bool = True, end_patch: bool = True, show_pins: bool = False) -> None: ...
instantiate: bool
vtx: Incomplete
sz_p2p: Incomplete
def generate_gds(self, sharp_patch, show_pins): ...
class Racetrack:
dLx: Incomplete
R_bend: Incomplete
dLy: Incomplete
xs: Incomplete
layer: Incomplete
bend_cell: Incomplete
A_bend: Incomplete
w: Incomplete
w_crack: float
cell: Incomplete
def __init__(self, bend_cell=None, xs: str = 'strip', layer=None, R_bend: int = 10, w: float = 0.5, dLx: int = 100, dLy: int = 100, res: float = 0.001) -> None: ...
sz: Incomplete
def generate_gds(self): ...