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

Masking tools #176

Closed SimonHeybrock closed 2 months ago

SimonHeybrock commented 1 year ago

This is required by DREAM and LOKI (and probably more):

In a notebook:

Notebooks will likely be instrument-specific, since we need, e.g., different plots for different detector banks, and dimensionality depends on the instrument as well.

Potential example for DREAM:

image

See also https://confluence.esss.lu.se/display/DAM/DREAM+-+Save+mask+to+file

SimonHeybrock commented 2 months ago

@nvaytet Is this done / replaced? If not, reopen please.

nvaytet commented 2 months ago

A tool for masking was added in https://github.com/scipp/scippneutron/pull/521. General re-shaping and slicing of detectors will just be done with Scipp, as detectors are to be loaded with logical dimensions. So yes, I would say it's done.