Support Forum

Cell Array with continuously varying parameter

Monday 19th April 2021
(only for registered users)


Hi, Is there a memory-efficient way to generate a cell array with a constantly varying parameter? I'm making a grating where the grating width varies continuously along its length (I attached a snapshot to show what I'm trying to pattern). The full layout has many gratings, in total over 10 million elements. Right now I'm using the built-in Python editor and the "addBox" command. The output file size is near 1 GB. Is there a better way to do this that uses less file size? Best, Kevin
Monday 19th April 2021
The GDS file format did not have so much to improve that. Just one thing i see to far: the design is symmetrical in a vertical axis. So you can create just half of the boxes into one cell and place this cell twice in the main design with one placement mirrored.