tidy3d_structures_from_layout¶
- photonforge.tidy3d_structures_from_layout(filename, technology=None, cell_name=None)¶
Convert a layout cell to Tidy3D structures according to a technology specification.
- Parameters:
filename – GDSII/OASIS file name to load.
technology – Technology used to create the layout. If not specified, the current default technology will be used.
cell_name – Desired cell from the layout. If not specified, the loader will try to determine the top-level cell to be loaded.
- Returns:
List of Tidy3D structures.
Example
The structures can be used to create Tidy3D simulations:
>>> structures = tidy3d_structures_from_layout( ... filename, technology, main_cell_name ... ) >>> simulation = td.Simulation( ... ... ... structures=structures, ... ... ... )