mxpic.components.primitives.passive.crows#

STD_CROW_V#

class mxpic.components.primitives.passive.crows.STD_CROW_V(ring, bus, w_bus, w_ring, sz_ring, sz_bus, name=None, gap_crows=[0.4], gap_cp=[0.45, 0.45], w_heater=0, xs_heater='heater', connected=True, w_metal=8, xs_metal='metal', via_h2m=None, isl=None, ht_shift=0, A_ht=45, ISL_LEFT=True, ISL_RIGHT=True, show_pins=False)#

Bases: object

STD CROW V primitive component.

This component builds the STD CROW V layout cell.

Parameters:
  • ring (Any) – Ring cell or component used by this composite.

  • bus (Any) – Bus waveguide cell or component used by this composite.

  • w_bus (float or list) – Width parameter in microns.

  • w_ring (float or list) – Width parameter in microns.

  • sz_ring (float or list) – Value for the sz_ring parameter.

  • sz_bus (float or list) – Value for the sz_bus parameter.

  • name (str, optional) – Unique identifier for the device cell. Default is None.

  • gap_crows (float or list, optional) – Spacing or gap parameter in microns. Default is [0.4].

  • gap_cp (float or list, optional) – Spacing or gap parameter in microns. Default is [0.45, 0.45].

  • w_heater (float or list, optional) – Width parameter in microns. Default is 0.

  • xs_heater (str, optional) – Layer or cross-section name used by the device. Default is ‘heater’.

  • connected (bool, optional) – Value for the connected parameter. Default is True.

  • w_metal (float, optional) – Width parameter in microns. Default is 8.

  • xs_metal (str, optional) – Layer or cross-section name used by the device. Default is ‘metal’.

  • via_h2m (Any, optional) – Via definition used between heater and metal layers. Default is None.

  • isl (Any, optional) – Isolation-trench definition used by the electrical layout. Default is None.

  • ht_shift (int, optional) – Value for the ht_shift parameter. Default is 0.

  • A_ht (int, optional) – Angle parameter in degrees. Default is 45.

  • ISL_LEFT (bool, optional) – Value for the ISL_LEFT parameter. Default is True.

  • ISL_RIGHT (bool, optional) – Value for the ISL_RIGHT parameter. Default is True.

  • show_pins (bool, optional) – Whether to draw pin markers in the generated layout. Default is False.

A_ht#
generate_eic_gds()#
generate_pic_gds()#

CROW_Eul_Ring#

../../../../_images/CROW_Eul_Ring.png
class mxpic.components.primitives.passive.crows.CROW_Eul_Ring(name, R0=10, R1=3, w0=0.38, w1=0.65, w_bus=0.35, R_att=15, R_att_min=3, A_att=30, w_wg=0.45, dLx=0, dLy=0, xs_wg='strip', gap_crows=[0.4], gap_cp=0.45, w_heater=0, xs_heater='heater', connected=True, w_metal=8, xs_metal='metal', via_h2m=None, isl=None, ISL_LEFT=True, ISL_RIGHT=True, show_pins=False, sharp_patch=True, dL_p2p=None, Ltp_bus=0, ht_shift=0, A_ht=45, R_cp=None, bus_order=1.0, width_type='crow_customize', A_cp=0)#

Bases: STD_CROW_V

CROW Eul Ring primitive component.

This component builds the CROW Eul Ring layout cell.

Parameters:
  • name (str) – Unique identifier for the device cell.

  • R0 (int, optional) – Radius parameter in microns. Default is 10.

  • R1 (int, optional) – Radius parameter in microns. Default is 3.

  • w0 (float, optional) – Width parameter in microns. Default is 0.38.

  • w1 (float, optional) – Width parameter in microns. Default is 0.65.

  • w_bus (float, optional) – Width parameter in microns. Default is 0.35.

  • R_att (int, optional) – Radius parameter in microns. Default is 15.

  • R_att_min (int, optional) – Radius parameter in microns. Default is 3.

  • A_att (int, optional) – Angle parameter in degrees. Default is 30.

  • w_wg (float, optional) – Width parameter in microns. Default is 0.45.

  • dLx (float, optional) – Value for the dLx parameter. Default is 0.

  • dLy (float, optional) – Value for the dLy parameter. Default is 0.

  • xs_wg (str, optional) – Layer or cross-section name used by the device. Default is ‘strip’.

  • gap_crows (list, optional) – Spacing or gap parameter in microns. Default is [0.4].

  • gap_cp (float, optional) – Spacing or gap parameter in microns. Default is 0.45.

  • w_heater (float, optional) – Width parameter in microns. Default is 0.

  • xs_heater (str, optional) – Layer or cross-section name used by the device. Default is ‘heater’.

  • connected (bool, optional) – Value for the connected parameter. Default is True.

  • w_metal (float, optional) – Width parameter in microns. Default is 8.

  • xs_metal (str, optional) – Layer or cross-section name used by the device. Default is ‘metal’.

  • via_h2m (Any, optional) – Via definition used between heater and metal layers. Default is None.

  • isl (Any, optional) – Isolation-trench definition used by the electrical layout. Default is None.

  • ISL_LEFT (bool, optional) – Value for the ISL_LEFT parameter. Default is True.

  • ISL_RIGHT (bool, optional) – Value for the ISL_RIGHT parameter. Default is True.

  • show_pins (bool, optional) – Whether to draw pin markers in the generated layout. Default is False.

  • sharp_patch (bool, optional) – Whether to add geometry patches for sharp corners or cladding continuity. Default is True.

  • dL_p2p (Optional[float], optional) – Value for the dL_p2p parameter. Default is None.

  • Ltp_bus (int, optional) – Length parameter in microns. Default is 0.

  • ht_shift (int, optional) – Value for the ht_shift parameter. Default is 0.

  • A_ht (int, optional) – Angle parameter in degrees. Default is 45.

  • R_cp (Any, optional) – Radius parameter in microns. Default is None.

  • bus_order (float, optional) – Value for the bus_order parameter. Default is 1.0.

  • width_type (str, optional) – Width parameter in microns. Default is ‘crow_customize’.

  • A_cp (int, optional) – Angle parameter in degrees. Default is 0.

CROW_Eul_RCK#

../../../../_images/CROW_Eul_RCK.png
class mxpic.components.primitives.passive.crows.CROW_Eul_RCK(R0=10, R1=3, R2=20, w0=0.38, w1=0.65, w_bus=0.35, R_att=15, R_att_min=3, A_att=30, w_wg=0.45, dAc=0, dLx=0, dLy=0, xs_wg='strip', gap_crows=[0.4], gap_cp=0.45, w_heater=0, xs_heater='heater', connected=True, w_metal=8, xs_metal='metal', via_h2m=None, isl=None, ISL_LEFT=True, ISL_RIGHT=True, show_pins=False, sharp_patch=True, dL_p2p=None, Ltp_bus=0, ht_shift=0, A_ht=45)#

Bases: STD_CROW_V

CROW Eul RCK primitive component.

This component builds the CROW Eul RCK layout cell.

Parameters:
  • R0 (int, optional) – Radius parameter in microns. Default is 10.

  • R1 (int, optional) – Radius parameter in microns. Default is 3.

  • R2 (int, optional) – Radius parameter in microns. Default is 20.

  • w0 (float, optional) – Width parameter in microns. Default is 0.38.

  • w1 (float, optional) – Width parameter in microns. Default is 0.65.

  • w_bus (float, optional) – Width parameter in microns. Default is 0.35.

  • R_att (int, optional) – Radius parameter in microns. Default is 15.

  • R_att_min (int, optional) – Radius parameter in microns. Default is 3.

  • A_att (int, optional) – Angle parameter in degrees. Default is 30.

  • w_wg (float, optional) – Width parameter in microns. Default is 0.45.

  • dAc (float, optional) – Value for the dAc parameter. Default is 0.

  • dLx (float, optional) – Value for the dLx parameter. Default is 0.

  • dLy (float, optional) – Value for the dLy parameter. Default is 0.

  • xs_wg (str, optional) – Layer or cross-section name used by the device. Default is ‘strip’.

  • gap_crows (list, optional) – Spacing or gap parameter in microns. Default is [0.4].

  • gap_cp (float, optional) – Spacing or gap parameter in microns. Default is 0.45.

  • w_heater (float, optional) – Width parameter in microns. Default is 0.

  • xs_heater (str, optional) – Layer or cross-section name used by the device. Default is ‘heater’.

  • connected (bool, optional) – Value for the connected parameter. Default is True.

  • w_metal (float, optional) – Width parameter in microns. Default is 8.

  • xs_metal (str, optional) – Layer or cross-section name used by the device. Default is ‘metal’.

  • via_h2m (Any, optional) – Via definition used between heater and metal layers. Default is None.

  • isl (Any, optional) – Isolation-trench definition used by the electrical layout. Default is None.

  • ISL_LEFT (bool, optional) – Value for the ISL_LEFT parameter. Default is True.

  • ISL_RIGHT (bool, optional) – Value for the ISL_RIGHT parameter. Default is True.

  • show_pins (bool, optional) – Whether to draw pin markers in the generated layout. Default is False.

  • sharp_patch (bool, optional) – Whether to add geometry patches for sharp corners or cladding continuity. Default is True.

  • dL_p2p (Optional[float], optional) – Value for the dL_p2p parameter. Default is None.

  • Ltp_bus (int, optional) – Length parameter in microns. Default is 0.

  • ht_shift (int, optional) – Value for the ht_shift parameter. Default is 0.

  • A_ht (int, optional) – Angle parameter in degrees. Default is 45.

CROW_Circular_ring#

class mxpic.components.primitives.passive.crows.CROW_Circular_ring(r_ring=10, w_ring=0.45, xs_ring='strip', w1_bus=0.45, A1_cp=10, w2_bus=0.45, A2_cp=10, gap1=0.45, gap2=0.45, w_wg=0.45, Euler_trasition=True, R1_cp=None, R2_cp=None, R1_att=10, R2_att=10, R1_att_min=5, R2_att_min=5, A1_att=45, A2_att=45, gap_crows=[0.4], w_heater=0, xs_heater='heater', connected=True, w_metal=8, xs_metal='metal', via_h2m=None, isl=None, ISL_LEFT=True, ISL_RIGHT=True, show_pins=False, sharp_patch=True, dL_p2p=None, Ltp_bus=0, ht_shift=0, A_ht=45)#

Bases: STD_CROW_V

CROW Circular ring primitive component.

This component builds the CROW Circular ring layout cell.

Parameters:
  • r_ring (float, optional) – Radius parameter in microns. Default is 10.

  • w_ring (float, optional) – Width parameter in microns. Default is 0.45.

  • xs_ring (str, optional) – Layer or cross-section name used by the device. Default is ‘strip’.

  • w1_bus (float, optional) – Value for the w1_bus parameter. Default is 0.45.

  • A1_cp (int, optional) – Angle parameter in degrees. Default is 10.

  • w2_bus (float, optional) – Value for the w2_bus parameter. Default is 0.45.

  • A2_cp (int, optional) – Angle parameter in degrees. Default is 10.

  • gap1 (float, optional) – Spacing or gap parameter in microns. Default is 0.45.

  • gap2 (float, optional) – Spacing or gap parameter in microns. Default is 0.45.

  • w_wg (float, optional) – Width parameter in microns. Default is 0.45.

  • Euler_trasition (bool, optional) – Value for the Euler_trasition parameter. Default is True.

  • R1_cp (Any, optional) – Radius parameter in microns. Default is None.

  • R2_cp (Any, optional) – Radius parameter in microns. Default is None.

  • R1_att (float, optional) – Radius parameter in microns. Default is 10.

  • R2_att (float, optional) – Radius parameter in microns. Default is 10.

  • R1_att_min (float, optional) – Radius parameter in microns. Default is 5.

  • R2_att_min (float, optional) – Radius parameter in microns. Default is 5.

  • A1_att (int, optional) – Angle parameter in degrees. Default is 45.

  • A2_att (int, optional) – Angle parameter in degrees. Default is 45.

  • gap_crows (float or list, optional) – Spacing or gap parameter in microns. Default is [0.4].

  • w_heater (float or list, optional) – Width parameter in microns. Default is 0.

  • xs_heater (str, optional) – Layer or cross-section name used by the device. Default is ‘heater’.

  • connected (bool, optional) – Value for the connected parameter. Default is True.

  • w_metal (float, optional) – Width parameter in microns. Default is 8.

  • xs_metal (str, optional) – Layer or cross-section name used by the device. Default is ‘metal’.

  • via_h2m (Any, optional) – Via definition used between heater and metal layers. Default is None.

  • isl (Any, optional) – Isolation-trench definition used by the electrical layout. Default is None.

  • ISL_LEFT (bool, optional) – Value for the ISL_LEFT parameter. Default is True.

  • ISL_RIGHT (bool, optional) – Value for the ISL_RIGHT parameter. Default is True.

  • show_pins (bool, optional) – Whether to draw pin markers in the generated layout. Default is False.

  • sharp_patch (bool, optional) – Whether to add geometry patches for sharp corners or cladding continuity. Default is True.

  • dL_p2p (Optional[float], optional) – Value for the dL_p2p parameter. Default is None.

  • Ltp_bus (int, optional) – Length parameter in microns. Default is 0.

  • ht_shift (int, optional) – Value for the ht_shift parameter. Default is 0.

  • A_ht (int, optional) – Angle parameter in degrees. Default is 45.

CROW_STD_Allpass#

../../../../_images/CROW_STD_Allpass.png
class mxpic.components.primitives.passive.crows.CROW_STD_Allpass(r_ring=10, w_ring=0.45, xs_ring='strip', w_bus=0.45, A_cp=10, gap_bus=0.45, w_wg=0.45, Euler_trasition=True, R_att=10, R_att_min=5, A_att=45, gap_crows=[0.4], w_heater=0, xs_heater='heater', connected=True, w_metal=8, xs_metal='metal', via_h2m=None, isl=None, show_pins=False, sharp_patch=True, dL_p2p=None, Ltp_bus=0, ht_shift=0, A_ht=45)#

Bases: CROW_Circular_ring

CROW STD Allpass primitive component.

This component builds the CROW STD Allpass layout cell.

Parameters:
  • r_ring (float, optional) – Radius parameter in microns. Default is 10.

  • w_ring (float, optional) – Width parameter in microns. Default is 0.45.

  • xs_ring (str, optional) – Layer or cross-section name used by the device. Default is ‘strip’.

  • w_bus (float, optional) – Width parameter in microns. Default is 0.45.

  • A_cp (int, optional) – Angle parameter in degrees. Default is 10.

  • gap_bus (float, optional) – Spacing or gap parameter in microns. Default is 0.45.

  • w_wg (float, optional) – Width parameter in microns. Default is 0.45.

  • Euler_trasition (bool, optional) – Value for the Euler_trasition parameter. Default is True.

  • R_att (float, optional) – Radius parameter in microns. Default is 10.

  • R_att_min (float, optional) – Radius parameter in microns. Default is 5.

  • A_att (int, optional) – Angle parameter in degrees. Default is 45.

  • gap_crows (float or list, optional) – Spacing or gap parameter in microns. Default is [0.4].

  • w_heater (float or list, optional) – Width parameter in microns. Default is 0.

  • xs_heater (str, optional) – Layer or cross-section name used by the device. Default is ‘heater’.

  • connected (bool, optional) – Value for the connected parameter. Default is True.

  • w_metal (float, optional) – Width parameter in microns. Default is 8.

  • xs_metal (str, optional) – Layer or cross-section name used by the device. Default is ‘metal’.

  • via_h2m (Any, optional) – Via definition used between heater and metal layers. Default is None.

  • isl (Any, optional) – Isolation-trench definition used by the electrical layout. Default is None.

  • show_pins (bool, optional) – Whether to draw pin markers in the generated layout. Default is False.

  • sharp_patch (bool, optional) – Whether to add geometry patches for sharp corners or cladding continuity. Default is True.

  • dL_p2p (Optional[float], optional) – Value for the dL_p2p parameter. Default is None.

  • Ltp_bus (int, optional) – Length parameter in microns. Default is 0.

  • ht_shift (int, optional) – Value for the ht_shift parameter. Default is 0.

  • A_ht (int, optional) – Angle parameter in degrees. Default is 45.

CROW_STD_Adddrop#

../../../../_images/CROW_STD_Adddrop.png
class mxpic.components.primitives.passive.crows.CROW_STD_Adddrop(r_ring=10, w_ring=0.45, xs_ring='strip', w_bus=0.45, A_cp=10, gap_bus=0.45, w_wg=0.45, Euler_trasition=True, R_att=10, R_att_min=5, A_att=45, gap_crows=[0.4], w_heater=0, xs_heater='heater', connected=True, w_metal=8, xs_metal='metal', via_h2m=None, isl=None, show_pins=False, sharp_patch=True, dL_p2p=None, Ltp_bus=0, ht_shift=0, A_ht=45)#

Bases: CROW_Circular_ring

CROW STD Adddrop primitive component.

This component builds the CROW STD Adddrop layout cell.

Parameters:
  • r_ring (float, optional) – Radius parameter in microns. Default is 10.

  • w_ring (float, optional) – Width parameter in microns. Default is 0.45.

  • xs_ring (str, optional) – Layer or cross-section name used by the device. Default is ‘strip’.

  • w_bus (float, optional) – Width parameter in microns. Default is 0.45.

  • A_cp (int, optional) – Angle parameter in degrees. Default is 10.

  • gap_bus (float, optional) – Spacing or gap parameter in microns. Default is 0.45.

  • w_wg (float, optional) – Width parameter in microns. Default is 0.45.

  • Euler_trasition (bool, optional) – Value for the Euler_trasition parameter. Default is True.

  • R_att (float, optional) – Radius parameter in microns. Default is 10.

  • R_att_min (float, optional) – Radius parameter in microns. Default is 5.

  • A_att (int, optional) – Angle parameter in degrees. Default is 45.

  • gap_crows (float or list, optional) – Spacing or gap parameter in microns. Default is [0.4].

  • w_heater (float or list, optional) – Width parameter in microns. Default is 0.

  • xs_heater (str, optional) – Layer or cross-section name used by the device. Default is ‘heater’.

  • connected (bool, optional) – Value for the connected parameter. Default is True.

  • w_metal (float, optional) – Width parameter in microns. Default is 8.

  • xs_metal (str, optional) – Layer or cross-section name used by the device. Default is ‘metal’.

  • via_h2m (Any, optional) – Via definition used between heater and metal layers. Default is None.

  • isl (Any, optional) – Isolation-trench definition used by the electrical layout. Default is None.

  • show_pins (bool, optional) – Whether to draw pin markers in the generated layout. Default is False.

  • sharp_patch (bool, optional) – Whether to add geometry patches for sharp corners or cladding continuity. Default is True.

  • dL_p2p (Optional[float], optional) – Value for the dL_p2p parameter. Default is None.

  • Ltp_bus (int, optional) – Length parameter in microns. Default is 0.

  • ht_shift (int, optional) – Value for the ht_shift parameter. Default is 0.

  • A_ht (int, optional) – Angle parameter in degrees. Default is 45.

CROW_AED#

../../../../_images/CROW_AED.png
class mxpic.components.primitives.passive.crows.CROW_AED(r_outer=10, wa=0.45, wb=0.45, xs_ring='strip', w1_bus=0.45, A1_cp=10, w2_bus=0.45, A2_cp=10, gap1=0.45, gap2=0.45, w_wg=0.45, Euler_trasition=True, R1_cp=None, R2_cp=None, R1_att=15, R2_att=15, R1_att_min=5, R2_att_min=5, L_tilt=0, A1_att=45, A2_att=45, Ltp_bus=0, dL_p2p=None, gap_crows=[0.4], gap_cp=[0.45, 0.45], w_heater=0, xs_heater='heater', connected=True, w_metal=8, xs_metal='metal', via_h2m=None, isl=None, ISL_LEFT=True, ISL_RIGHT=True, show_pins=False, sharp_patch=True, ht_shift=0, A_ht=45)#

Bases: STD_CROW_V

CROW AED primitive component.

This component builds the CROW AED layout cell.

Parameters:
  • r_outer (float, optional) – Radius parameter in microns. Default is 10.

  • wa (float, optional) – Width parameter in microns. Default is 0.45.

  • wb (float, optional) – Width parameter in microns. Default is 0.45.

  • xs_ring (str, optional) – Layer or cross-section name used by the device. Default is ‘strip’.

  • w1_bus (float, optional) – Value for the w1_bus parameter. Default is 0.45.

  • A1_cp (int, optional) – Angle parameter in degrees. Default is 10.

  • w2_bus (float, optional) – Value for the w2_bus parameter. Default is 0.45.

  • A2_cp (int, optional) – Angle parameter in degrees. Default is 10.

  • gap1 (float, optional) – Spacing or gap parameter in microns. Default is 0.45.

  • gap2 (float, optional) – Spacing or gap parameter in microns. Default is 0.45.

  • w_wg (float, optional) – Width parameter in microns. Default is 0.45.

  • Euler_trasition (bool, optional) – Value for the Euler_trasition parameter. Default is True.

  • R1_cp (float, optional) – Radius parameter in microns. Default is None.

  • R2_cp (float, optional) – Radius parameter in microns. Default is None.

  • R1_att (float, optional) – Radius parameter in microns. Default is 15.

  • R2_att (float, optional) – Radius parameter in microns. Default is 15.

  • R1_att_min (float, optional) – Radius parameter in microns. Default is 5.

  • R2_att_min (float, optional) – Radius parameter in microns. Default is 5.

  • L_tilt (int, optional) – Length parameter in microns. Default is 0.

  • A1_att (int, optional) – Angle parameter in degrees. Default is 45.

  • A2_att (int, optional) – Angle parameter in degrees. Default is 45.

  • Ltp_bus (int, optional) – Length parameter in microns. Default is 0.

  • dL_p2p (Optional[float], optional) – Value for the dL_p2p parameter. Default is None.

  • gap_crows (float or list, optional) – Spacing or gap parameter in microns. Default is [0.4].

  • gap_cp (float or list, optional) – Spacing or gap parameter in microns. Default is [0.45, 0.45].

  • w_heater (float or list, optional) – Width parameter in microns. Default is 0.

  • xs_heater (str, optional) – Layer or cross-section name used by the device. Default is ‘heater’.

  • connected (bool, optional) – Value for the connected parameter. Default is True.

  • w_metal (float, optional) – Width parameter in microns. Default is 8.

  • xs_metal (str, optional) – Layer or cross-section name used by the device. Default is ‘metal’.

  • via_h2m (Any, optional) – Via definition used between heater and metal layers. Default is None.

  • isl (Any, optional) – Isolation-trench definition used by the electrical layout. Default is None.

  • ISL_LEFT (bool, optional) – Value for the ISL_LEFT parameter. Default is True.

  • ISL_RIGHT (bool, optional) – Value for the ISL_RIGHT parameter. Default is True.

  • show_pins (bool, optional) – Whether to draw pin markers in the generated layout. Default is False.

  • sharp_patch (bool, optional) – Whether to add geometry patches for sharp corners or cladding continuity. Default is True.

  • ht_shift (int, optional) – Value for the ht_shift parameter. Default is 0.

  • A_ht (int, optional) – Angle parameter in degrees. Default is 45.