MBI-Div-B / sardana-pyFAIPseudoCounterController

A PseudoCounter for azimuthal integration/reordering using pyFAI
3 stars 0 forks source link

mask as controller attribute #1

Open lrlunin opened 1 year ago

lrlunin commented 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.

dscran commented 1 year ago

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?