Folder structure simplfied

This commit is contained in:
=
2026-06-06 16:43:26 +08:00
parent 8da92ced57
commit 8a17f1dde0
138 changed files with 10429 additions and 1432 deletions
+42 -6
View File
@@ -12,9 +12,24 @@ from ...electronics import Vias
class Heater_NDoped():
'''
This is the class for N-doped heater as a phase shifter.
'''
"""
This is the class for N-doped heater as a phase shifter.
Parameters
----------
w_wg : float, optional
Width parameter in microns. Default is 0.45.
slab_width : float, optional
Value for the slab_width parameter. Default is 1.1.
heater_length : int, optional
Value for the heater_length parameter. Default is 100.
heater_width : int, optional
Value for the heater_width parameter. Default is 1.
if_open : bool, optional
Value for the if_open parameter. Default is True.
show_pins : bool, optional
Whether to draw pin markers in the generated layout. Default is False.
"""
def __init__(
self,
w_wg: float=0.45,
@@ -197,9 +212,30 @@ class Heater_NDoped():
class PS_PIN() :
'''
PIN junction for a high-speed phase shift.
'''
"""
PIN junction for a high-speed phase shift.
Parameters
----------
w_wg : float, optional
Width parameter in microns. Default is 0.45.
w_wg_slab : float, optional
Width parameter in microns. Default is 0.5.
w_slab : float, optional
Width parameter in microns. Default is 1.
l_wg : float, optional
Value for the l_wg parameter. Default is 800.
d2wg_list : list, optional
Value for the d2wg_list parameter. Default is [0.2, 1].
p_layer_list : list, optional
Value for the p_layer_list parameter. Default is ['PW', 'PP'].
n_layer_list : list, optional
Value for the n_layer_list parameter. Default is ['NW', 'NP'].
w_plus_max : float, optional
Width parameter in microns. Default is 5.1.
show_pins : bool, optional
Whether to draw pin markers in the generated layout. Default is False.
"""
def __init__(
self,
w_wg: float=0.45,