gdstk.gds_info
- gdstk.gds_info(infile) dict
Gather information from a GDSII file without loading the geometry.
- Parameters:
infile (str or pathlib.Path) – Name of the input file.
- Returns:
Dictionary with library info.
The following keys are available in the return dictionary:
cell_names
: list with all cell nameslayers_and_datatypes
: set of 2-tuples with layers and data typeslayers_and_texttypes
: set of 2-tuples with layers and text typesnum_polygons
: number of polygons in the librarynum_paths
: number of paths in the librarynum_references
: number of references in the librarynum_labels
: number of labels in the libraryunit
: library unitprecision
library precision