Reader_GDS#
- class zeroheliumkit.src.importing.Reader_GDS(filename: str, cellname: str = 'toplevel')[source]#
Bases:
objectHelper class to import .gds file into zhk dictionary using gdstk.
- Parameters:
filename (str) – Path to the GDSII file.
cellname (str) – Name of the cell to import (default: “toplevel”).
- geometries#
Output dict after import2zhk(), mapping “L<layer>” -> MultiPolygon.
- Type:
dict
- gdsii#
Loaded gdstk library.
- Type:
gdstk.Library
- cells#
Dict mapping cellname -> {layer_number -> MultiPolygon}.
- Type:
dict
Methods
extract_geometries()prepare_dict([cellname])Attributes
filename