@@ -23,6 +23,7 @@ def add_fiber_array_sc(
2323 component_name : str | None = None ,
2424 cross_section : CrossSectionSpec = "xs_sc" ,
2525 gc_rotation : float = - 90 ,
26+ radius_loopback : float = 10 ,
2627 ** kwargs ,
2728) -> Component :
2829 """Returns component with south routes and grating_couplers.
@@ -36,6 +37,7 @@ def add_fiber_array_sc(
3637 component_name: optional for the label.
3738 cross_section: cross_section function.
3839 gc_rotation: fiber coupler rotation in degrees. Defaults to -90.
40+ radius_loopback: optional radius of the loopback bend. Defaults to the cross_section.
3941 kwargs: additional arguments.
4042
4143 Keyword Args:
@@ -58,7 +60,6 @@ def add_fiber_array_sc(
5860 input_port_indexes: to connect.
5961 pitch: in um.
6062 radius: optional radius of the bend. Defaults to the cross_section.
61- radius_loopback: optional radius of the loopback bend. Defaults to the cross_section.
6263 route_backwards: route from component to grating coupler or vice-versa.
6364
6465 .. plot::
@@ -83,6 +84,7 @@ def add_fiber_array_sc(
8384 gc_rotation = gc_rotation ,
8485 component_name = component_name ,
8586 cross_section = cross_section ,
87+ radius_loopback = radius_loopback ,
8688 ** kwargs ,
8789 )
8890
@@ -344,7 +346,7 @@ def pack_doe_grid(
344346
345347 PDK .activate ()
346348
347- c = add_fiber_single_sc ()
349+ c = add_fiber_array_sc ()
348350 # c =gf.get_component(gc_sc)
349351 # c = pack_doe()
350352 c .pprint_ports ()
0 commit comments