9f041e51f4
Move Abstract into its own file
2023-01-23 22:42:37 -08:00
09d76203e8
handle library=None
2023-01-23 22:35:15 -08:00
2302d29433
library can generate abstracts
2023-01-23 22:34:58 -08:00
09b7ecd80e
B becomes BB for searchability
2023-01-23 22:34:44 -08:00
aff0df33cc
PortsRef -> Abstract
2023-01-23 22:34:31 -08:00
326c9b9727
flake8-aided fixes
2023-01-23 22:27:26 -08:00
8484628f2f
fix more type issues
2023-01-22 22:16:09 -08:00
6565b8baa3
more wip -- most central stuff is first pass done
2023-01-22 16:59:32 -08:00
df1acd7c87
wip -- more fixes
2023-01-21 23:38:53 -08:00
743428d8d7
wip
2023-01-21 21:22:11 -08:00
e482107366
wip
2023-01-19 22:20:16 -08:00
a15131f22a
busL -> mpath
2023-01-18 22:32:57 -08:00
81eadffa56
comment out some ipython commands
2023-01-18 18:15:51 -08:00
cb8897b8fe
some type updates
2023-01-18 18:14:53 -08:00
83b9af0cc3
Remove support for dose
...
Since there isn't GDS/OASIS level support for dose, this can be mostly
handled by using arbitrary layers/dtypes directly. Dose scaling isn't
handled as nicely that way, but it corresponds more directly to what
gets written to file.
2023-01-18 18:14:33 -08:00
dfdceefdcd
fix some type-related issues
2023-01-18 17:15:14 -08:00
ecb61c9174
get rid of "identifier"
2023-01-18 17:14:35 -08:00
1741cfb755
wip again
2023-01-13 20:33:14 -08:00
58894fa596
delete duplicate utils submodule
2023-01-13 16:08:17 -08:00
5bb67c817f
partial work on device libraries
2023-01-12 23:06:39 -08:00
fd045e16d4
various fixes
2023-01-12 23:06:12 -08:00
073ccacee9
remove duplicatre __delitem__
2023-01-12 23:06:02 -08:00
804b662780
improve docs
2023-01-12 23:05:45 -08:00
14e9a7ccbe
indirect type spec for Pattern
2023-01-12 23:04:59 -08:00
9bb7ddbb79
Add lib types
2023-01-12 02:23:36 -08:00
273d828d87
bifurcate Device into DeviceRef
2023-01-11 20:19:31 -08:00
b7df6a3f73
add notes about what is hard
2023-01-11 19:00:06 -08:00
b4eee6b84e
make error message prettier
2023-01-11 19:00:06 -08:00
42c3a2b1e1
WIP: make libraries and names first-class!
2023-01-11 18:59:57 -08:00
fff20b3da9
Avoid generating a container if only a single port is passed
2023-01-11 18:32:08 -08:00
4bae737630
allow bounds to be passed as args
2023-01-11 18:32:08 -08:00
9891ba9e47
allow passing a single Tool to be used as the default
2023-01-11 18:32:08 -08:00
df320e80cc
Add functionality for building paths (single use wires/waveguides/etc)
2023-01-11 18:32:01 -08:00
8edb7b0956
round().astype() -> rint(...)
2023-01-11 18:29:28 -08:00
79d0373eeb
Min python version to 3.8
2023-01-11 17:39:07 -08:00
5b5cbe94d3
Move from setuputils and setup.py to hatch and pyproject.toml
2023-01-11 17:37:36 -08:00
a713967911
Add an alternate constructor for axis-aligned 2D grids
2023-01-04 22:56:17 -08:00
457d1fc2f9
remove missing masque/VERSION from MANIFEST.in
2022-07-07 11:38:16 -07:00
eb03935948
whitespace
2022-07-07 11:37:54 -07:00
51b7021bdc
bump version to 2.7
2022-06-08 21:14:41 -07:00
b188589b60
Fix / simplify some cases where the arc is a sector
2022-06-08 21:12:39 -07:00
eb9682b1b8
Avoid calling new.unlock() in __deepcopy__()
...
since the new object's properties aren't necessarily deepcopied yet...
2022-06-08 21:12:39 -07:00
48b28351ed
speed up GDS writing
...
by preallocating xy array and directly rounding to target dtype
2022-06-08 21:12:39 -07:00
bfabd351c4
fix circular import
2022-06-08 21:12:39 -07:00
4cc824526b
fix deepcopy for locked shapes
2022-04-17 19:04:18 -07:00
e48183ee0b
dose==1 is the identity situation
2022-04-07 17:47:30 -07:00
6886360f6d
fix getting displacements in Arbitrary repetition
2022-04-01 17:35:21 -07:00
b5ddb5749c
fix calculation of displacements
2022-04-01 17:35:12 -07:00
67d312162a
speed up as_pattern()
...
mainly used by `flatten()`
2022-04-01 17:33:24 -07:00
97db83a1d5
add utils.vertices.poly_contains_points
2022-04-01 17:30:25 -07:00