gdsfactory.read.import_gds#
- gdsfactory.read.import_gds(gdspath: str | Path, cellname: str | None = None, post_process: Callable[[Component], Component] | None = None, **kwargs) 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.
kwargs – deprecated and ignored.