Skip to content

Commit

Permalink
5 nm grid for grating couplers
Browse files Browse the repository at this point in the history
  • Loading branch information
bsnyder committed Sep 13, 2022
1 parent 712fb01 commit fd107da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions gdsfactory/components/grating_coupler_elliptical.py
Expand Up @@ -33,7 +33,9 @@ def ellipse_arc(
"""
theta = np.arange(theta_min, theta_max + angle_step, angle_step) * DEG2RAD
xs = a * np.cos(theta) + x0
xs = gf.snap.snap_to_grid(xs)
ys = b * np.sin(theta)
ys = gf.snap.snap_to_grid(ys)
return np.column_stack([xs, ys])


Expand Down
2 changes: 1 addition & 1 deletion gdsfactory/geometry/functions.py
Expand Up @@ -165,7 +165,7 @@ def extrude_path(
spike_length: Union[float64, int, float] = 0,
start_angle: Optional[int] = None,
end_angle: Optional[int] = None,
grid: float = 0.001,
grid: float = 0.005,
) -> ndarray:
"""Deprecated. Use gf.path.Path.extrude() instead.
Expand Down

0 comments on commit fd107da

Please sign in to comment.