From 7e28c8bf57d83fc4ad6ad59b538b61d6d44face4 Mon Sep 17 00:00:00 2001 From: cemitch99 Date: Wed, 20 Nov 2024 01:08:21 +0000 Subject: [PATCH] Update Stub Files --- src/python/impactx/impactx_pybind/elements.pyi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/python/impactx/impactx_pybind/elements.pyi b/src/python/impactx/impactx_pybind/elements.pyi index eee7e5504..a3431ddc3 100644 --- a/src/python/impactx/impactx_pybind/elements.pyi +++ b/src/python/impactx/impactx_pybind/elements.pyi @@ -81,6 +81,7 @@ class Aperture(Named, Thin, Alignment): repeat_x: float = 0, repeat_y: float = 0, shape: str = "rectangular", + action: str = "transmit", dx: float = 0, dy: float = 0, rotation: float = 0, @@ -100,6 +101,13 @@ class Aperture(Named, Thin, Alignment): Push first the reference particle, then all other particles. """ @property + def action(self) -> str: + """ + action type (transmit, absorb) + """ + @action.setter + def action(self, arg1: str) -> None: ... + @property def repeat_x(self) -> float: """ horizontal period for repeated aperture masking