mxpic.components.primitives.pic.racetrack#

Route#

class mxpic.components.primitives.pic.racetrack.Route(radius=None, width=None, angle=90, xs=None, layer=None, adapt_width=False, adapt_xs=False, instantiate=False, pinstyle=None, offset=None, varname=None, doc='', PCB=False, modes=None)#

Bases: Interconnect

RacetrackResonator#

../../../../_images/RacetrackResonator.png
class mxpic.components.primitives.pic.racetrack.RacetrackResonator(R0, w0, R1, w1, dLy, dLx, name=None, xs='strip', gap1=0.2, gap2=0.2, w1_bus=0.45, w2_bus=0.45, R1_cp=None, R2_cp=None, A1_cp=0, A2_cp=0, w_wg=0.45, R1_att=20, R2_att=20, R2_att_min=10, R1_att_min=10, A1_att=30, A2_att=20, Ltp_bus=10, dL_p2p=None, L_tilt=10, sharp_patch=True, cell_xs_transition=None, Euler_trasition=False, res=0.01, show_pins=False)#

Bases: object

RacetrackResonator primitive component.

This component builds the RacetrackResonator layout cell.

Parameters:
  • R0 (Any) – Radius parameter in microns.

  • w0 (float) – Width parameter in microns.

  • R1 (Any) – Radius parameter in microns.

  • w1 (float) – Width parameter in microns.

  • dLy (float) – Value for the dLy parameter.

  • dLx (float) – Value for the dLx parameter.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  • A1_att (float, optional) – Angle parameter in degrees. Default is 30.

  • A2_att (float, optional) – Angle parameter in degrees. Default is 20.

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

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

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

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

  • cell_xs_transition (Any, optional) – Cell or component dependency used by this device. Default is None.

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

  • res (float, optional) – Value for the res parameter. Default is 0.01.

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

generate_gds(sharp_patch=True, show_pins=False)#

Racetrack_STD_Allpass#

../../../../_images/Racetrack_STD_Allpass.png
class mxpic.components.primitives.pic.racetrack.Racetrack_STD_Allpass(r_rck, w_rck, dLy, name=None, xs='strip', gap=0.2, w_bus=0.45, A_cp=0, w_wg=0.45, Ltp_bus=10, dL_p2p=None, L_tilt=0, Ratt=10, w_ht=0, w_mt=10, via_h2m=None, xs_ht='heater', xs_mt='metal', sharp_patch=True, cell_xs_transition=None, res=0.01, show_pins=False)#

Bases: RacetrackResonator

Racetrack STD Allpass primitive component.

This component builds the Racetrack STD Allpass layout cell.

Parameters:
  • r_rck (float) – Radius parameter in microns.

  • w_rck (float) – Width parameter in microns.

  • dLy (float) – Value for the dLy parameter.

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

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

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

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

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

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

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

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

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

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

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

  • w_mt (float, optional) – Width parameter in microns. Default is 10.

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

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

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

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

  • cell_xs_transition (Any, optional) – Cell or component dependency used by this device. Default is None.

  • res (float, optional) – Value for the res parameter. Default is 0.01.

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

generate_eic_gds(sharp_patch=True, show_pins=False)#

Racetrack_MM_Allpass#

../../../../_images/Racetrack_MM_Allpass.png
class mxpic.components.primitives.pic.racetrack.Racetrack_MM_Allpass(r1_rck, w1_rck, r0_rck, w0_rck, dLy, name=None, xs='strip', gap=0.2, w_bus=0.45, A_cp=0, w_wg=0.45, R_att=50, R_att_min=10, A_att=15, Ltp_bus=10, dL_p2p=None, sharp_patch=True, cell_xs_transition=None, res=0.01, show_pins=False)#

Bases: RacetrackResonator

Racetrack MM Allpass primitive component.

This component builds the Racetrack MM Allpass layout cell.

Parameters:
  • r1_rck (float) – Value for the r1_rck parameter.

  • w1_rck (float) – Value for the w1_rck parameter.

  • r0_rck (float) – Value for the r0_rck parameter.

  • w0_rck (float) – Value for the w0_rck parameter.

  • dLy (float) – Value for the dLy parameter.

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

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

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

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

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

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

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

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

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

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

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

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

  • cell_xs_transition (Any, optional) – Cell or component dependency used by this device. Default is None.

  • res (float, optional) – Value for the res parameter. Default is 0.01.

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

Racetrack_MM_Adddrop#

../../../../_images/Racetrack_MM_Adddrop.png
class mxpic.components.primitives.pic.racetrack.Racetrack_MM_Adddrop(r1_rck, w1_rck, r0_rck, w0_rck, dLy, name=None, xs='strip', gap=0.2, w_bus=0.45, A_cp=0, w_wg=0.45, R_att=50, R_att_min=10, A_att=15, Ltp_bus=10, dL_p2p=None, sharp_patch=True, cell_xs_transition=None, res=0.01, show_pins=False)#

Bases: RacetrackResonator

Racetrack MM Adddrop primitive component.

This component builds the Racetrack MM Adddrop layout cell.

Parameters:
  • r1_rck (float) – Value for the r1_rck parameter.

  • w1_rck (float) – Value for the w1_rck parameter.

  • r0_rck (float) – Value for the r0_rck parameter.

  • w0_rck (float) – Value for the w0_rck parameter.

  • dLy (float) – Value for the dLy parameter.

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

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

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

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

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

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

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

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

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

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

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

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

  • cell_xs_transition (Any, optional) – Cell or component dependency used by this device. Default is None.

  • res (float, optional) – Value for the res parameter. Default is 0.01.

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