-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
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
New Optical Element - Intensity Mask #357
base: development
Are you sure you want to change the base?
Conversation
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, thanks for this PR! It's a great new feature!
I would consider adding some more context to the docstring (I've made a suggestion).
Additionally, I think that the aperture_type
is confusing if one of the types is aperture
and the other is hole
, and so I suggest changing the variable name from aperture_type
to mask_type
.
Co-authored-by: Rob Shalloo <[email protected]>
for more information, see https://pre-commit.ci
Adds functionality to mask out the intensity of different regions of the beam. This could for example be used to mimic the effect of an aperture or a optic with a hole ( see issue #345)