scipp / ess

European Spallation Source facility bespoke, neutron scattering tools based on scipp.
https://scipp.github.io/ess/
BSD 3-Clause "New" or "Revised" License
3 stars 3 forks source link

SANS normalization error threshold check needs to be adapted if direct beam is pixel-dependent #202

Closed SimonHeybrock closed 1 year ago

SimonHeybrock commented 1 year ago

See https://github.com/scipp/ess/blob/e3f7c2737f2ae3b6bd3b6aa771060963e868670e/src/ess/sans/normalization.py#L158-L170.

If the direct beam is pixel-dependent then this check is too late, since broadcasting of the monitor terms will have happened already.