Commit Graph

375 Commits (81430fe6329f39bdb0e0f7cbd1832642a48fea60)
 

Author SHA1 Message Date
jan 81430fe632 add LibDeviceLibrary 2 years ago
jan 6a1208bc33 add some helper functions to libraries 2 years ago
jan f36350ebee Add some warnings around cache invalidation when mutating items 2 years ago
jan 2e5d51b0af resolve name conflicts rather than just giving up
this lets us merge libraries without having to mutate `other`, which
brings a bunch of problems around cache invalidation
2 years ago
jan 566ba99f9c set_const doesn't need to take in a separate key, can just use the pattern's name
might as well make the convenience function convenient
2 years ago
jan 86315fc32b improve DeviceLibrary docstring 2 years ago
jan f178e94d82 remove old overloads 2 years ago
jan 7612a2660c add DeviceLibraryError 2 years ago
jan b2a8a1749a improve type checking and make some type-related fixes 2 years ago
jan 1515ed878f use string ptypes 2 years ago
jan 40c81f53ed reformat arg lists 2 years ago
jan 9b3b30b141 start work on tutorial 2 years ago
Jan Petykiewicz 7aa850a239 add todo note 2 years ago
Jan Petykiewicz 9a9a05d1d7 add guillotine_bssf_sas 2 years ago
Jan Petykiewicz c2994b74bd add utils.pack2d.pack_patterns 2 years ago
Jan Petykiewicz a9e3bf8b2a return a set of rejected indices 2 years ago
Jan Petykiewicz fc1a0f5a5a break apart utils into submodules, and add utils.pack2d 2 years ago
jan a4fe3d9e2e Use ArrayLike and NDArray wherever possible. Some type fixes and some related corner cases 2 years ago
jan 89f327ba37 reformat some multiline arg lists and add missing 'None' return types 2 years ago
Jan Petykiewicz 250107e41b Update email 3 years ago
Jan Petykiewicz 47e8cab73c fix format string now that ptypes are str-typed 3 years ago
Jan Petykiewicz a92ab9425b typo in 4788fa3c 3 years ago
Jan Petykiewicz 576077c461 add docstring for Pattern.rename() 3 years ago
Jan Petykiewicz 4788fa3ca5 add Device.rename() 3 years ago
Jan Petykiewicz dbee0027b2 fix wrap_repated_shapes for labels 3 years ago
Jan Petykiewicz 52c6634a25 fix port comparison regression 3 years ago
Jan Petykiewicz 886bd59726 should be casting with numpy.array() not .ndarray() 3 years ago
Jan Petykiewicz 4796676a4e use ArrayLike when accepting pseudo-ndarrays 3 years ago
Jan Petykiewicz 3aefa644e5 fix type annotations for Device.__getitem__ 3 years ago
Jan Petykiewicz 65466a5986 Force keyword args in more cases 3 years ago
Jan Petykiewicz 21ef4207df Enable repetition arg for other Polygon constructors 3 years ago
Jan Petykiewicz 78a4416f4c Fix wrap_repeated_shapes 3 years ago
Jan Petykiewicz 0d733bdc6f Breaking change: Use string-valued ptypes, with default value 'unk' 3 years ago
jan 44b08a8dae bump version to 2.5 3 years ago
jan e2fdd5a347 make klamath the default gdsii reader/writer, and install it automatically
python-gdsii code is now under masque.file.python_gdsii
3 years ago
jan 689312cc87 don't include newlines in version string 3 years ago
jan 5b84a436a0 Make flatten() work in-place on all subpatterns (avoid copies and repeated calls). Also fix a bug around identifier generation introduced in a5900f6ad. 3 years ago
Jan Petykiewicz 8ad4082f6d Fix offset complaining if it gets a Vec3 3 years ago
Jan Petykiewicz a5900f6ade BREAKING change shape identifers generated when flattening 3 years ago
Jan Petykiewicz db4148a0ff Don't trash label identifiers 3 years ago
Jan Petykiewicz 7225fd5715 add traceback to port type warnings 3 years ago
jan 1dc7d5bd56 2-element paths are not polygons 3 years ago
jan 5aa41f5e12 fix reading lwpolylines 3 years ago
Jan Petykiewicz 939ad5451c enable pickling of LockableImpl 3 years ago
Jan Petykiewicz 88d42807be label axes in visualization 3 years ago
Jan Petykiewicz 29ee13a8ab fix comment 3 years ago
Jan Petykiewicz cf2413f9e3 remove_colinear_vertices implementation assumes no duplicate vertices, so we need to remove them first 3 years ago
Jan Petykiewicz bce3d9f37c Avoid placing duplicate vertices when polygonizing an arc 3 years ago
Jan Petykiewicz 0fce7fd099 bump version to v2.4 3 years ago
Jan Petykiewicz 479e0c3c2e fix mirroring for rotated ports/devices 3 years ago