mxpic.components.primitives.pic.mmi#
MMI_ML#
- class mxpic.components.primitives.pic.mmi.MMI_ML(name=None, L_arm=[10], w_arm=[0.45, 1.35], xs='strip', arm_sine_width=False, L_mmi=[10], w_mmi=[5, 5], mmi_sine_width=False, sharp_patch=True, show_pins=False, res=0.01, N_out=3, N_in=1, Dp_out=1.5, Dp_in=1.5)#
Bases:
objectMMI ML primitive component.
This component builds the MMI ML layout cell.
- Parameters:
name (Optional[str], optional) – Unique identifier for the device cell. Default is None.
L_arm (list, optional) – Length parameter in microns. Default is [10].
w_arm (list, optional) – Width parameter in microns. Default is [0.45, 1.35].
xs (str, optional) – Layer or cross-section name used by the device. Default is ‘strip’.
arm_sine_width (bool, optional) – Value for the arm_sine_width parameter. Default is False.
L_mmi (list, optional) – Length parameter in microns. Default is [10].
w_mmi (list, optional) – Width parameter in microns. Default is [5, 5].
mmi_sine_width (bool, optional) – Value for the mmi_sine_width parameter. Default is False.
sharp_patch (bool, optional) – Whether to add geometry patches for sharp corners or cladding continuity. Default is True.
show_pins (bool, optional) – Whether to draw pin markers in the generated layout. Default is False.
res (float, optional) – Value for the res parameter. Default is 0.01.
N_out (int, optional) – Count or repetition parameter. Default is 3.
N_in (int, optional) – Count or repetition parameter. Default is 1.
Dp_out (float, optional) – Value for the Dp_out parameter. Default is 1.5.
Dp_in (float, optional) – Value for the Dp_in parameter. Default is 1.5.
- generate_gds(sharp_patch, show_pins)#
- generate_test_gds(gc, dX_gc2gc, dY_gc2gc, R_bend=10, Xout_offset=50)#
MMI_STD#
- class mxpic.components.primitives.pic.mmi.MMI_STD(name=None, N_out=3, N_in=1, L_arm=10, w_wg=0.45, w_port=1.2, xs='strip', L_mmi=10, w_mmi=5, sharp_patch=True, show_pins=False, Dp_out=1.5, Dp_in=1.5)#
Bases:
MMI_MLMMI STD primitive component.
This component builds the MMI STD layout cell.
- Parameters:
name (Optional[str], optional) – Unique identifier for the device cell. Default is None.
N_out (int, optional) – Count or repetition parameter. Default is 3.
N_in (int, optional) – Count or repetition parameter. Default is 1.
L_arm (int, optional) – Length parameter in microns. Default is 10.
w_wg (float, optional) – Width parameter in microns. Default is 0.45.
w_port (float, optional) – Width parameter in microns. Default is 1.2.
xs (str, optional) – Layer or cross-section name used by the device. Default is ‘strip’.
L_mmi (int, optional) – Length parameter in microns. Default is 10.
w_mmi (float, optional) – Width parameter in microns. Default is 5.
sharp_patch (bool, optional) – Whether to add geometry patches for sharp corners or cladding continuity. Default is True.
show_pins (bool, optional) – Whether to draw pin markers in the generated layout. Default is False.
Dp_out (float, optional) – Value for the Dp_out parameter. Default is 1.5.
Dp_in (float, optional) – Value for the Dp_in parameter. Default is 1.5.