Jan Petykiewicz
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.
9 months ago
Jan Petykiewicz
f7a2edfe23
fix some type-related issues
9 months ago
Jan Petykiewicz
a0ca53f57a
get rid of "identifier"
9 months ago
jan
7ca017d993
wip again
9 months ago
jan
db9a6269a1
delete duplicate utils submodule
9 months ago
Jan Petykiewicz
6f696bfc71
partial work on device libraries
9 months ago
Jan Petykiewicz
f7b8f2db0c
various fixes
9 months ago
Jan Petykiewicz
e3511ed852
remove duplicatre __delitem__
9 months ago
Jan Petykiewicz
a4f89e6f48
improve docs
9 months ago
Jan Petykiewicz
5f35e8c8e3
indirect type spec for Pattern
9 months ago
jan
52f0b4aa93
Add lib types
9 months ago
jan
c95b2f4c0d
bifurcate Device into DeviceRef
9 months ago
Jan Petykiewicz
7e1371c14d
add notes about what is hard
9 months ago
Jan Petykiewicz
e932687210
make error message prettier
9 months ago
jan
7aaf73cb37
WIP: make libraries and names first-class!
9 months ago
Jan Petykiewicz
f834ec6be5
Avoid generating a container if only a single port is passed
9 months ago
Jan Petykiewicz
885b259fb7
allow bounds to be passed as args
9 months ago
Jan Petykiewicz
3f986957ac
allow passing a single Tool to be used as the default
9 months ago
Jan Petykiewicz
1c3c032434
Add functionality for building paths (single use wires/waveguides/etc)
9 months ago
Jan Petykiewicz
afcbd315ae
Fix extra vertex added during OASIS loading
1 year ago
jan
8edb7b0956
round().astype() -> rint(...)
1 year ago
Jan Petykiewicz
79d0373eeb
Min python version to 3.8
1 year ago
Jan Petykiewicz
5b5cbe94d3
Move from setuputils and setup.py to hatch and pyproject.toml
1 year ago
Jan Petykiewicz
a713967911
Add an alternate constructor for axis-aligned 2D grids
2 years ago
jan
457d1fc2f9
remove missing masque/VERSION from MANIFEST.in
2 years ago
jan
eb03935948
whitespace
2 years ago
Jan Petykiewicz
51b7021bdc
bump version to 2.7
2 years ago
Jan Petykiewicz
b188589b60
Fix / simplify some cases where the arc is a sector
2 years ago
Jan Petykiewicz
eb9682b1b8
Avoid calling new.unlock() in __deepcopy__()
...
since the new object's properties aren't necessarily deepcopied yet...
2 years ago
Jan Petykiewicz
48b28351ed
speed up GDS writing
...
by preallocating xy array and directly rounding to target dtype
2 years ago
Jan Petykiewicz
bfabd351c4
fix circular import
2 years ago
jan
4cc824526b
fix deepcopy for locked shapes
2 years ago
Jan Petykiewicz
e48183ee0b
dose==1 is the identity situation
2 years ago
Jan Petykiewicz
6886360f6d
fix getting displacements in Arbitrary repetition
2 years ago
Jan Petykiewicz
b5ddb5749c
fix calculation of displacements
2 years ago
jan
67d312162a
speed up as_pattern()
...
mainly used by `flatten()`
2 years ago
Jan Petykiewicz
97db83a1d5
add utils.vertices.poly_contains_points
2 years ago
Jan Petykiewicz
fd0b2ba4cd
no longer ignore numpy types
2 years ago
Jan Petykiewicz
9f1c7aea01
add _displacements to __slots__
2 years ago
Jan Petykiewicz
3640de27c7
Fix OASIS loading when strings are stored by-reference
2 years ago
Jan Petykiewicz
ed9b0df057
fix scaling for objects with repetitions
2 years ago
jan
a4aa50d814
fix another instance where numpy prohibits using `not bounds`
2 years ago
jan
2b8195ad3e
move dev2pat and pat2dev into masque.builder.port_utils
2 years ago
jan
36f6edac21
fix wrong var name
2 years ago
jan
210f5c21bc
wrap_device can be used on DeviceLibrary
2 years ago
jan
bfee560693
simplify type hints
2 years ago
jan
f4c2357737
fix type hint
2 years ago
jan
20be409341
fix numpy complaining about .any() / .all()
2 years ago
jan
d8b60da827
use_ours & use_theirs should be passed verbatim to the underlying library
2 years ago
jan
3b0ef1e08d
always couple LibDeviceLibrary keys to the underlying Library
...
See comment for why this is necessary
2 years ago