6b01b43559
flake8-aided fixes
2023-10-15 16:18:32 -07:00
db9b39dbc0
fix more type issues
2023-10-15 16:18:32 -07:00
557c6c98dc
more wip -- most central stuff is first pass done
2023-10-15 16:18:32 -07:00
6549faddbb
wip -- more fixes
2023-10-15 16:18:32 -07:00
9efb6f0eeb
wip
2023-10-15 16:18:32 -07:00
d9ae8dd6e3
wip
2023-10-15 16:18:32 -07:00
f7902fa517
busL -> mpath
2023-10-15 16:18:32 -07:00
fbbc1d5cc7
comment out some ipython commands
2023-10-15 16:18:32 -07:00
2635c6c20c
some type updates
2023-10-15 16:18:32 -07:00
c7f3e7ee52
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-10-15 16:18:32 -07:00
f7a2edfe23
fix some type-related issues
2023-10-15 16:18:32 -07:00
a0ca53f57a
get rid of "identifier"
2023-10-15 16:18:32 -07:00
7ca017d993
wip again
2023-10-15 16:18:32 -07:00
db9a6269a1
delete duplicate utils submodule
2023-10-15 16:18:32 -07:00
6f696bfc71
partial work on device libraries
2023-10-15 16:18:32 -07:00
f7b8f2db0c
various fixes
2023-10-15 16:18:32 -07:00
e3511ed852
remove duplicatre __delitem__
2023-10-15 16:18:32 -07:00
a4f89e6f48
improve docs
2023-10-15 16:18:32 -07:00
5f35e8c8e3
indirect type spec for Pattern
2023-10-15 16:18:32 -07:00
52f0b4aa93
Add lib types
2023-10-15 16:18:32 -07:00
c95b2f4c0d
bifurcate Device into DeviceRef
2023-10-15 16:18:32 -07:00
7e1371c14d
add notes about what is hard
2023-10-15 16:18:32 -07:00
e932687210
make error message prettier
2023-10-15 16:18:32 -07:00
7aaf73cb37
WIP: make libraries and names first-class!
2023-10-15 16:18:32 -07:00
f834ec6be5
Avoid generating a container if only a single port is passed
2023-10-15 16:18:32 -07:00
885b259fb7
allow bounds to be passed as args
2023-10-15 16:18:32 -07:00
3f986957ac
allow passing a single Tool to be used as the default
2023-10-15 16:18:32 -07:00
1c3c032434
Add functionality for building paths (single use wires/waveguides/etc)
2023-10-15 16:18:32 -07:00
afcbd315ae
Fix extra vertex added during OASIS loading
2023-01-24 14:14:10 -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
fd0b2ba4cd
no longer ignore numpy types
2022-04-01 17:30:13 -07:00
9f1c7aea01
add _displacements to __slots__
2022-04-01 17:30:07 -07:00
3640de27c7
Fix OASIS loading when strings are stored by-reference
2022-04-01 17:30:00 -07:00
ed9b0df057
fix scaling for objects with repetitions
2022-03-16 23:54:26 -07:00