gdsfactory.read.import_gds#
- gdsfactory.read.import_gds(gdspath: str | Path, cellname: str | None = None, post_process: Sequence[Callable[[Component], None]] | None = None, rename_duplicated_cells: bool = False, **kwargs: Any) Component [source]#
Reads a GDS file and returns a Component.
- Parameters:
gdspath – path to GDS file.
cellname – name of the cell to return. Defaults to top cell.
post_process – function to run after reading the GDS file.
rename_duplicated_cells – if True, rename duplicated cells.
kwargs – deprecated and ignored.