Skip to content

Commit

Permalink
add exposure
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Nov 21, 2024
1 parent 7eca75b commit 1fb7434
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/useq/_mda_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,15 @@ class SLMImage(UseqModel):
Optional name of the SLM device to use. If not provided, the "default" SLM
device should be used. (It is left to the backend to determine what device that
is). By default, `None`.
exposure: Optional[float]
Exposure time for the SLM specifically (if different from the detector), in
milliseconds. If not provided, the exposure on the owning MDAEvent should be
used. By default, `None`.
"""

data: Any
device: Optional[str] = None
exposure: Optional[float] = None

@model_validator(mode="before")
def _cast_data(cls, v: Any) -> Any:
Expand Down

0 comments on commit 1fb7434

Please sign in to comment.