Skip to content

Commit

Permalink
Update Stub Files
Browse files Browse the repository at this point in the history
  • Loading branch information
cemitch99 authored and github-actions[bot] committed Oct 17, 2024
1 parent 7a924cc commit c26d849
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/python/impactx/impactx_pybind/elements.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ class Aperture(Named, Thin, Alignment):
self,
xmax: float,
ymax: float,
repeat_x: float = 0,
repeat_y: float = 0,
shape: str = "rectangular",
dx: float = 0,
dy: float = 0,
Expand All @@ -97,6 +99,20 @@ class Aperture(Named, Thin, Alignment):
Push first the reference particle, then all other particles.
"""
@property
def repeat_x(self) -> float:
"""
horizontal period for repeated aperture masking
"""
@repeat_x.setter
def repeat_x(self, arg1: float) -> None: ...
@property
def repeat_y(self) -> float:
"""
vertical period for repeated aperture masking
"""
@repeat_y.setter
def repeat_y(self, arg1: float) -> None: ...
@property
def shape(self) -> str:
"""
aperture type (rectangular, elliptical)
Expand Down

0 comments on commit c26d849

Please sign in to comment.