gdsfactory.cell

Contents

gdsfactory.cell#

gdsfactory.cell(_func: KCellFunc[KCellParams] | None = None, /, *, set_settings: bool = True, set_name: bool = True, check_ports: bool = True, check_instances: CHECK_INSTANCES | None = None, snap_ports: bool = True, add_port_layers: bool = True, cache: Cache[int, Any] | dict[int, Any] | None = None, basename: str | None = None, drop_params: list[str] = ['self', 'cls'], register_factory: bool = True, overwrite_existing: bool | None = None, layout_cache: bool | None = None, info: dict[str, int | float | bool | str | Box | DBox | Edge | DEdge | EdgePair | DEdgePair | EdgePairs | Edges | LayerProperties | Matrix2d | Matrix3d | Path | DPath | Point | DPoint | Polygon | DPolygon | SimplePolygon | DSimplePolygon | Region | Text | DText | Texts | Trans | DTrans | CplxTrans | ICplxTrans | DCplxTrans | VCplxTrans | Vector | DVector | None | list[int | float | bool | str | SerializableShape | None | list[MetaData] | tuple[MetaData, ...] | dict[str, MetaData]] | tuple[int | float | bool | str | SerializableShape | None | list[MetaData] | tuple[MetaData, ...] | dict[str, MetaData], ...] | dict[str, int | float | bool | str | SerializableShape | None | list[MetaData] | tuple[MetaData, ...] | dict[str, MetaData]]] | None = None, post_process: Iterable[Callable[[KCell], None]] = []) KCellFunc[KCellParams] | Callable[[KCellFunc[KCellParams]], KCellFunc[KCellParams]]#

Default kcl @cell decorator.