Commit Graph

15 Commits (20981f10b94da5e98700c5e2169a61fc78d14475)

Author SHA1 Message Date
jan 20981f10b9 Fix error name
InvalidDataError -> PatternError
4 years ago
jan a930c65d42 fix gridrepetition mirror 4 years ago
Jan Petykiewicz 0db70d2c50 Change GridRepetition rotation/mirrored/scale properties so that they consistently apply only to the individual instances; the rotate()/mirror()/scale_by() functions apply to the full array. Add *_elements() versions of the functions 4 years ago
Jan Petykiewicz f2e6548d21 fix locking issue in __deepcopy__ 5 years ago
Jan Petykiewicz e0db621595 allow locking of all objects 5 years ago
Jan Petykiewicz 97b7eda21a Force repetition counts to be integers 5 years ago
Jan Petykiewicz f3669f2dfd fixup mirroring for subpatterns 5 years ago
Jan Petykiewicz 4bc51f765f custom __copy__ for SubPattern and GridRepetition
the difference between copy/deepcopy should be whether a copy is made of
the contained pattern
5 years ago
Jan Petykiewicz 7b0a567625 .mirrored should be an ndarray 5 years ago
Jan Petykiewicz 38f64f7c62 Use __slots__ for class members
Also use the other sort of type hints for instance variables
5 years ago
Jan Petykiewicz 0b962999b2 Add arbitrary identifier for labels and subpattern/repetition 5 years ago
Jan Petykiewicz a461446059 Custom deepcopy() implementations to help speed things up 5 years ago
Jan Petykiewicz d5665f54a7 Comment and type hint updates 5 years ago
Jan Petykiewicz 9ecd34b2f7 Cast offsets to float 5 years ago
jan c50bd8e148 Add GridRepetition: a SubPattern-like object which implements regular spatial arrays.
Also rework masque.file.gdsii to consolidate write() and
write_dose2dtype()
5 years ago