Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions cspdk/si220/cells/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def add_fiber_array_sc(
component_name: str | None = None,
cross_section: CrossSectionSpec = "xs_sc",
gc_rotation: float = -90,
radius_loopback: float = 10,
**kwargs,
) -> Component:
"""Returns component with south routes and grating_couplers.
Expand All @@ -36,6 +37,7 @@ def add_fiber_array_sc(
component_name: optional for the label.
cross_section: cross_section function.
gc_rotation: fiber coupler rotation in degrees. Defaults to -90.
radius_loopback: optional radius of the loopback bend. Defaults to the cross_section.
kwargs: additional arguments.

Keyword Args:
Expand All @@ -58,7 +60,6 @@ def add_fiber_array_sc(
input_port_indexes: to connect.
pitch: in um.
radius: optional radius of the bend. Defaults to the cross_section.
radius_loopback: optional radius of the loopback bend. Defaults to the cross_section.
route_backwards: route from component to grating coupler or vice-versa.

.. plot::
Expand All @@ -83,6 +84,7 @@ def add_fiber_array_sc(
gc_rotation=gc_rotation,
component_name=component_name,
cross_section=cross_section,
radius_loopback=radius_loopback,
**kwargs,
)

Expand Down Expand Up @@ -344,7 +346,7 @@ def pack_doe_grid(

PDK.activate()

c = add_fiber_single_sc()
c = add_fiber_array_sc()
# c =gf.get_component(gc_sc)
# c = pack_doe()
c.pprint_ports()
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ classifiers = [
"Operating System :: OS Independent"
]
dependencies = [
"gdsfactory~=8.31.0",
"gdsfactory~=8.32.0",
"gplugins[sax]>=1,<2"
]
description = "CornerStone PDK"
Expand Down
8 changes: 4 additions & 4 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading