gdstk.RawCell

class gdstk.RawCell(name)

A Cell structure that is stored in binary GDSII format.

Raw cells are not meant to be created in the same way cells are. They come from gdstk.read_rawcells() and are used when the imported elements will not be modified in any way. They are smaller in memory and require almost no processing to be used, making them a preferred option when using an external GDSII file as a parts library (such as in PDKs).

Notes

The units of the imported RawCell are not checked against the current user units. It is up to the user to ensure they are equal.

Methods

dependencies(recursive)

List of raw cells that are referenced by this raw cell.

Attributes

name

Raw cell name.

size

Raw cell size (in bytes).

dependencies(recursive) list

List of raw cells that are referenced by this raw cell.

Parameters:

recursive – If True, includes all dependencies recursively.

name

Raw cell name.

Notes

This attribute is read-only.

size

Raw cell size (in bytes).

Notes

This attribute is read-only.