Open lrlunin opened 1 year ago
It would be very suitable for us to add a mask controller attribute. The most flexible solution would be a boolean 2D array mask. I would not set a rectangular form of a direct beam as a limitation. I will create a pull request in a couple of days.
mask
I added a check for the mask shape and changed the attribute initial values to numpy arrays (to ensure that shape check is always possible): f6db61c
Can you verify those changes are ok?
It would be very suitable for us to add a
mask
controller attribute. The most flexible solution would be a boolean 2D array mask. I would not set a rectangular form of a direct beam as a limitation. I will create a pull request in a couple of days.