Contents str | Path, cellname: str | None = None, post_process: Callable[[Component], Component] | None = None, **kwargs) Component[source]#

Reads a GDS file and returns a Component.

  • 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.