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.
This commit is contained in:
parent
f7a2edfe23
commit
c7f3e7ee52
18 changed files with 57 additions and 340 deletions
|
|
@ -415,20 +415,6 @@ class Pattern(AnnotatableImpl, Mirrorable, metaclass=AutoSlots):
|
|||
self.mirror_element_centers(axis)
|
||||
return self
|
||||
|
||||
def scale_element_doses(self: P, c: float) -> P:
|
||||
"""
|
||||
Multiply all shape and subpattern doses by a factor
|
||||
|
||||
Args:
|
||||
c: Factor to multiply doses by
|
||||
|
||||
Return:
|
||||
self
|
||||
"""
|
||||
for entry in chain(self.shapes, self.subpatterns):
|
||||
entry.dose *= c
|
||||
return self
|
||||
|
||||
def copy(self: P) -> P:
|
||||
"""
|
||||
Return a copy of the Pattern, deep-copying shapes and copying subpattern
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue