gds_fdtd.lyprocessor

gds_fdtd simulation toolbox.

Layout processing module. @author: Mustafa Hammood, 2025

Functions

apply_prefab(gds_in, gds_out, top_cell[, model])

Run a PreFab lithography prediction and write the result to a NEW file.

dilate(vertices[, extension])

grow or shrink a rectangle defined as [[x1,y1],[x2,y2]]

dilate_1d(vertices[, extension, dim])

Extend a 2-point segment/rectangle outward along the given dimension(s).

load_cell(fname[, top_cell])

Load a GDS layout and return a cell object.

load_device(fname, tech[, top_cell, z_span, ...])

Load a GDS device into a component, writing derived GDS files to output_dir.

load_ports(cell[, layer])

Load ports from cell.

load_region(cell[, layer, z_center, z_span, ...])

Get device bounds.

load_structure(cell, name, layer, z_base, ...)

Extract polygons from a given cell on a given layer.

load_structure_from_bounds(bounds, name, ...)

Load a structure from a region definition