Skip to content

Commit

Permalink
Update tech.py
Browse files Browse the repository at this point in the history
remove  box_thickness and box_thickness from layerStack
  • Loading branch information
joamatab committed Dec 12, 2022
1 parent 24e1662 commit 3af9129
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions gdsfactory/tech.py
Expand Up @@ -102,7 +102,7 @@ class Config:
class LayerLevel(BaseModel):
"""Level for 3D LayerStack.
Arguments:
Parameters:
layer: (GDSII Layer number, GDSII datatype).
thickness: layer thickness in um.
thickness_tolerance: layer thickness tolerance in um.
Expand Down Expand Up @@ -140,13 +140,9 @@ class LayerStack(BaseModel):
Parameters:
layers: dict of layer_levels.
box_thickness: in um.
box_thickness_tolerance: standard deviation in um.
"""

layers: Dict[str, LayerLevel]
box_thickness: Optional[float] = None
box_thickness_tolerance: Optional[float] = None

def get_layer_to_thickness(self) -> Dict[Tuple[int, int], float]:
"""Returns layer tuple to thickness (um)."""
Expand Down

0 comments on commit 3af9129

Please sign in to comment.