Files
mxpic_forge/mxpic_release/mxpic/components/primitives/spiral.pyi
T
root d7c19ed782
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
full compile system build. 2. beam_spliter, MMI and spiral classes added
2026-05-07 17:10:00 +08:00

109 lines
5.0 KiB
Python

from ...structures import *
from ...foundries import *
import nazca as nd
from ...routing import Route as Route
from ...structures import Conchoid as Conchoid
from _typeshed import Incomplete
from scipy import optimize as optimize
class spiral:
Dmin: Incomplete
Lmin: Incomplete
R_bend: Incomplete
shape: Incomplete
cycles: Incomplete
width: Incomplete
w_port: Incomplete
gap: Incomplete
xs: Incomplete
layer: Incomplete
name: Incomplete
instantiate: bool
port_angle: Incomplete
w_bend_center: Incomplete
Rmin_bend_center: Incomplete
Euler_bend: Incomplete
Rmin_euler: Incomplete
sharp_patch: Incomplete
w_bend_port: Incomplete
Ltp_port: Incomplete
cell_transition: Incomplete
res: Incomplete
cell: Incomplete
def __init__(self, name: str = None, shape: str = 'circle', Dmin: float = 50, R_bend: float = 10, Rmin_euler: float = 10, Lmin: float = 50, width: float = 2, w_port: float = 0.45, w_bend_center: float = 1, Rmin_bend_center: float = 10, gap: float = 1, cycles: float = 20, xs: str = 'strip', layer: str = None, w_bend_port=None, Ltp_port: int = 10, res: float = 0.5, cell_transition: nd.Cell = None, port_angle: float = 180, Euler_bend: bool = False, show_pins: bool = False, sharp_patch: bool = True) -> None: ...
def __strt_with_taper__(self, width1, width2, xs, length, Ltp: int = 15, Lstart: int = 2): ...
Atilt: Incomplete
L: Incomplete
Ru: Incomplete
Rd: Incomplete
bend_cell: Incomplete
def generate_gds(self, show_pins): ...
class spiral_rectangle:
Dmin: Incomplete
Lmin: Incomplete
Rmax_bend: Incomplete
Rmin_bend: Incomplete
wmin_bend: Incomplete
cycles: Incomplete
width: Incomplete
w_port: Incomplete
gap: Incomplete
xs: Incomplete
layer: Incomplete
Ltp: Incomplete
Lpatch: Incomplete
name: Incomplete
instantiate: bool
port_angle: Incomplete
sharp_patch: Incomplete
w_bend_port: Incomplete
Lport: Incomplete
cell_xs_transition: Incomplete
res: Incomplete
in_out_align: Incomplete
cell: Incomplete
def __init__(self, name: str = None, Dmin: float = 50, Rmax_bend: float = 10, Rmin_bend: float = 10, wmin_bend: float = 10, Lmin: float = 50, width: float = 2, w_port: float = 0.45, gap: float = 1, cycles: float = 20, xs: str = 'strip', layer: str = None, w_bend_port=None, Lport: int = 10, Ltp: int = 10, res: float = 0.5, cell_xs_transition=None, port_angle: float = 180, show_pins: bool = False, sharp_patch: bool = True, in_out_align: bool = True, Lpatch: float = 0.05) -> None: ...
def __strt_with_taper__(self, width1, width2, xs, length, Ltp: int = 15, Lstart: int = 2): ...
bend_cell: Incomplete
L: Incomplete
def generate_gds(self, show_pins): ...
class Spiral_Rect_STD(spiral_rectangle):
def __init__(self, name: str = None, Dmin: float = 50, R_bend: float = 10, Lmin: float = 50, width: float = 2, w_port: float = 0.45, gap: float = 1, cycles: float = 20, xs: str = 'strip', layer: str = None, Lport: int = 10, in_out_align: bool = True, res: float = 0.5, cell_xs_transition=None, port_angle: float = 180, show_pins: bool = False, sharp_patch: bool = True) -> None: ...
class spiral_circle:
Dmin: Incomplete
cycles: Incomplete
width: Incomplete
w_port: Incomplete
gap: Incomplete
xs: Incomplete
layer: Incomplete
name: Incomplete
instantiate: bool
port_angle: Incomplete
w_bend_center: Incomplete
Euler_Sbend: Incomplete
sharp_patch: Incomplete
Lport: Incomplete
rib2strip: Incomplete
res: Incomplete
strict_condition: Incomplete
R_ratio_mamnual: Incomplete
cell: Incomplete
def __init__(self, name: str = None, Dmin: float = 50, width: float = 2, w_port: float = 0.45, w_bend_center: float = 1, gap: float = 1, cycles: float = 20, xs: str = 'strip', layer: str = None, Lport: int = 10, res: float = 0.5, rib2strip: bool = True, port_angle: float = 180, Euler_Sbend: bool = False, show_pins: bool = False, sharp_patch: bool = True, strict_condition: bool = False, R_ratio_mamnual=None) -> None: ...
def opt_euler(self, R, R0): ...
Atilt: Incomplete
Rmax: Incomplete
L: Incomplete
Ru: Incomplete
Rd: Incomplete
def generate_gds(self, show_pins): ...
class Spiral_Cicle_MM(spiral_circle):
def __init__(self, name: str = None, Dmin: float = 50, width: float = 2, w_port: float = 0.45, w_bend_center: float = 1, gap: float = 1, cycles: float = 20, xs: str = 'strip', layer: str = None, Lport: int = 10, res: float = 0.5, rib2strip: bool = True, port_angle: float = 180, show_pins: bool = False, sharp_patch: bool = True, strict_condition: bool = False) -> None: ...
class Spiral_Cicle_STD(spiral_circle):
def __init__(self, name: str = None, Dmin: float = 50, width: float = 2, w_port: float = 0.45, gap: float = 1, cycles: float = 20, xs: str = 'strip', layer: str = None, Lport: int = 10, res: float = 0.5, rib2strip: bool = True, port_angle: float = 180, show_pins: bool = False, sharp_patch: bool = True, strict_condition: bool = False) -> None: ...