We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exposure
Currently even negative values are allowed,
event = MDAEvent(slm_image=SLMImage(data=True,exposure=-999)) mmc.mda.run([event]) --> runs
where as this is checked for camera exposure:
event = MDAEvent(exposure=-99) --> validation error for MDAEvent
Not sure if this needs to be checked, because negative values are allowed on device level (Polygon1000, genericSLM):
mmc.setSLMExposure(slm_dev,-999) print(mmc.getSLMExposure(slm_dev)) --> -999.0
The text was updated successfully, but these errors were encountered:
good catch! pydantic makes this easy, let's copy this pattern:
useq-schema/src/useq/_mda_event.py
Line 192 in 4b42d1e
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Currently even negative values are allowed,
where as this is checked for camera exposure:
Not sure if this needs to be checked, because negative values are allowed on device level (Polygon1000, genericSLM):
The text was updated successfully, but these errors were encountered: